From mboxrd@z Thu Jan 1 00:00:00 1970 From: Glauber Costa Subject: Re: [PATCH v4 cgroup/for-3.7] cgroup: mark subsystems with broken hierarchy support and whine if cgroups are nested for them Date: Fri, 14 Sep 2012 13:14:54 +0400 Message-ID: <5052F58E.4050808@parallels.com> References: <20120913183402.GG7677@google.com> <20120913192058.GH7677@google.com> <20120913194111.GM4396@redhat.com> <20120913200354.GN7677@google.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <20120913200354.GN7677-hpIqsD4AKlfQT0dZR+AlfA@public.gmane.org> List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: containers-bounces-cunTk1MwBs9QetFLy7KEm3xJsTq8ys+cHZ5vskTnxNA@public.gmane.org Errors-To: containers-bounces-cunTk1MwBs9QetFLy7KEm3xJsTq8ys+cHZ5vskTnxNA@public.gmane.org To: Tejun Heo Cc: Neil Horman , "Serge E. Hallyn" , containers-cunTk1MwBs9QetFLy7KEm3xJsTq8ys+cHZ5vskTnxNA@public.gmane.org, Michal Hocko , Paul Mackerras , "Aneesh Kumar K.V" , Arnaldo Carvalho de Melo , Johannes Weiner , Thomas Graf , cgroups-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, Paul Turner , Ingo Molnar , Vivek Goyal On 09/14/2012 12:03 AM, Tejun Heo wrote: > Hello, Vivek. > > On Thu, Sep 13, 2012 at 03:41:11PM -0400, Vivek Goyal wrote: >> I think for blkio controller, first level of creation itself is wrong if >> hierarchy is not supported. >> >> root >> / | \ >> T1 T2 G1 >> I side with Vivek, and I think we should warn first level. It just tends to be wrong. If memcg is a special case, just special case it. _but_, I see no reason not to do it. While I agree with Michal point that this is not necessary, I don't think being noisier than we need to be is a crime. Less noisy certainly can be.