From: Michal Hocko Subject: Re: [RFC] cgroup TODOs Date: Wed, 19 Sep 2012 16:02:03 +0200 Message-ID: <20120919140203.GA5398@dhcp22.suse.cz> References: <20120913205827.GO7677@google.com> <20120914150306.GQ28039@dhcp22.suse.cz> Mime-Version: 1.0 Return-path: Content-Disposition: inline In-Reply-To: <20120914150306.GQ28039-2MMpYkNvuYDjFM9bn6wA6Q@public.gmane.org> Sender: cgroups-owner-u79uwXL29TY76Z2rM5mHXA@public.gmane.org List-ID: Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: Tejun Heo Cc: containers-cunTk1MwBs9QetFLy7KEm3xJsTq8ys+cHZ5vskTnxNA@public.gmane.org, cgroups-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, linux-kernel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, Li Zefan , Glauber Costa , Peter Zijlstra , Paul Turner , Johannes Weiner , Thomas Graf , "Serge E. Hallyn" , Paul Mackerras , Ingo Molnar , Arnaldo Carvalho de Melo , Neil Horman , "Aneesh Kumar K.V" , Dave Jones , Ben Hutchings [CCing Dave, Ben] Just a short summary as you were not on the CC list. This is sort of follow up on https://lkml.org/lkml/2012/9/3/211. The end result is slightly different because Tejun did a more generic cgroup solution (see bellow). I cannot do the same for OpenSUSE so I will stick with the memcg specific patch. On Fri 14-09-12 17:03:06, Michal Hocko wrote: > I am currently planning to add a warning to most of the currenly > maintained distributions to have as big coverage as possible. No default > switch for obvious reasons but hopefuly we will get some feedback at > least. Just for the record, I will post backports of the patch I ended up using for openSUSE 11.4 and 12.[12] and SLES-SP2 as a reply to this email (and 2.6.32 in case somebody is interested). I hope other distributions can either go with this (which will never be merged but it should help to identify dubious usage of flat hierarchies without a risk of breaking anythign) or what Tejun has in his tree[1] 8c7f6edb (cgroup: mark subsystems with broken hierarchy support and whine if cgroups are nested for them) which is more generic but it is also slightly more intrusive. --- [1] - git://git.kernel.org/pub/scm/linux/kernel/git/tj/cgroup.git for-3.7-hierarchy -- Michal Hocko SUSE Labs