From mboxrd@z Thu Jan 1 00:00:00 1970 From: Tejun Heo Subject: Re: [PATCHv3 8/8] cgroup: Add documentation for cgroup namespaces Date: Wed, 7 Jan 2015 17:45:11 -0500 Message-ID: <20150107224430.GA28414@htj.dyndns.org> References: <54AB15BD.8020007@nod.at> <87lhlgpyxk.fsf@x220.int.ebiederm.org> <54AB2992.6060707@nod.at> <54ACFC38.5070007@nod.at> <87fvbmir9q.fsf@x220.int.ebiederm.org> <20150107193059.GA1857@mail.hallyn.com> <87bnma6xwv.fsf@x220.int.ebiederm.org> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Content-Disposition: inline In-Reply-To: <87bnma6xwv.fsf-JOvCrm2gF+uungPnsOpG7nhyD016LWXt@public.gmane.org> 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: "Eric W. Biederman" Cc: Richard Weinberger , Linux Containers , Serge Hallyn , "linux-kernel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org" , Andy Lutomirski , Ingo Molnar , Linux API , cgroups mailinglist List-Id: linux-api@vger.kernel.org On Wed, Jan 07, 2015 at 04:14:40PM -0600, Eric W. Biederman wrote: > I see what you mean. If it is indeed the case than a mount of cgroupfs > using the unified hiearchy and can not specify which controllers are > present under that mount that very significant bug and presents a very > significant regression in user space flexibility. The parent always controls which controllers are made available at the children level. Only if the parent enables a controller, its children, whether they're namespaces or not, can choose to further distribute resources using that controller. It's a straight-forward top-down thing. -- tejun