From mboxrd@z Thu Jan 1 00:00:00 1970 From: Tejun Heo 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 12:06:08 -0700 Message-ID: <20120914190608.GM17747@google.com> References: <20120913183402.GG7677@google.com> <20120913192058.GH7677@google.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=sender:date:from:to:cc:subject:message-id:references:mime-version :content-type:content-disposition:in-reply-to:user-agent; bh=ncJO6fL3/B4wFvqBAzKYQo5UWoKjMTAQCqJ3Bf9AV1s=; b=rmqTPE7vqwxz2sMizW3BE2IRzSM73UJ4CO78Ryy3q9PJMdQY7qqleSQit1rPJAU91j oqkX2YpOrrQrgfyRGUGoIvs/lmv9wsHUrp3OMFNNz86yy3uJPn+g1MctdCN+FVWgQoQx XqOaavdUSl1ZJz4VV6dgDrTvajspL2OodWwe3nb9sCVxLirPB7spkmhnIAsUUGVmjwps aNwv/AAi2mRDdf4U4XVR7ffxOVX8RCWbli7qxvAyiNGX3seHWPk5r2s53LK0ZQ6uVSTo PP/TjVMa/cMoqJmZdts+crAgzVUYk+/dDf6IOhhMPuwbojNwznDMDluzu/EpYYf3o4Jj TT5g== Content-Disposition: inline In-Reply-To: <20120913192058.GH7677-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: containers-cunTk1MwBs9QetFLy7KEm3xJsTq8ys+cHZ5vskTnxNA@public.gmane.org, cgroups-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, Michal Hocko , Li Zefan , Glauber Costa Cc: Neil Horman , Ingo Molnar , Paul Mackerras , "Aneesh Kumar K.V" , Arnaldo Carvalho de Melo , Johannes Weiner , Thomas Graf , "Serge E. Hallyn" , Paul Turner , Vivek Goyal On Thu, Sep 13, 2012 at 12:20:58PM -0700, Tejun Heo wrote: > Currently, cgroup hierarchy support is a mess. cpu related subsystems > behave correctly - configuration, accounting and control on a parent > properly cover its children. blkio and freezer completely ignore > hierarchy and treat all cgroups as if they're directly under the root > cgroup. Others show yet different behaviors. Applied to cgroup/for-3.7-hierarchy w/ acks added. git://git.kernel.org/pub/scm/linux/kernel/git/tj/cgroup.git for-3.7-hierarchy The branch is based on top of the current mainline (fbcbe2b3c 3.6-rc5) and only contains hierarchy related changes. The branch will be kept stable unless I do something completely stupid, so please feel free to pull into other trees as necessary. Thanks. -- tejun