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, 11 Feb 2015 00:10:14 -0500 Message-ID: <20150211051014.GA24897@mtj.duckdns.org> References: <87bnma6xwv.fsf@x220.int.ebiederm.org> <20150107224430.GA28414@htj.dyndns.org> <878uhe42km.fsf@x220.int.ebiederm.org> <20150107230615.GA28630@htj.dyndns.org> <87fvbm2nni.fsf@x220.int.ebiederm.org> <87y4peyxw5.fsf@x220.int.ebiederm.org> <20150107233553.GC28630@htj.dyndns.org> <20150211034616.GA25022@mail.hallyn.com> <20150211040957.GC21356@htj.duckdns.org> <20150211042942.GA27931@mail.hallyn.com> Mime-Version: 1.0 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=51p0XOhDgTWcrDSfPddHy84XEwXjZ8CgLJX9n3aIq8U=; b=T0d3TF6ZnPsusGtd9WCdLlIkXqI9eN650v/lgIhrHObPLMoVegXyF903o1H8ZTOGiz NBrVLGO2WjLIBdjG1yqbUsNOlp1cx/hoAhtKc1EYcycWM4cblbQZB7GOVUXWcK880XHw 2TqC1k6aj8sclL/0E5ZMiQEzFFwFxmSB6g194MLJvn4E+2bWK3z4HTjOjL3oaXrfrijW 1YCLgnz9n8pImjqNrxPlYwmzskvVxHTOgn2HCol983svDIt4Vdscwexfqyq9m+7rwyl4 E0xs+S7fRjEcOMEqzk+WeyI7J3XVviWSZPpEKOoNT8EORqfX6540GzxjATdwyD9sd8el Qozg== Content-Disposition: inline In-Reply-To: <20150211042942.GA27931-7LNsyQBKDXoIagZqoN9o3w@public.gmane.org> Sender: cgroups-owner-u79uwXL29TY76Z2rM5mHXA@public.gmane.org List-ID: Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: "Serge E. Hallyn" Cc: "Eric W. Biederman" , Richard Weinberger , Linux API , Linux Containers , Serge Hallyn , "linux-kernel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org" , Andy Lutomirski , cgroups mailinglist , Ingo Molnar Hello, On Wed, Feb 11, 2015 at 05:29:42AM +0100, Serge E. Hallyn wrote: > > There shouldn't be a "freezer" cgroup. The processes are categorized > > according to their logical structure and controllers are applied to > > the hierarchy as necessary. > > But there can well be cgroups for which only freezer is enabled. If > I'm wrong about that, then I am suffering a fundamental misunderstanding. Ah, sure, I was mostly arguing semantics. It's just weird to call it "freezer" cgroup. > > The semantics is that the parent enables distribution of its given > > type of resource by enabling the controller in its subtree_control. > > This scoping isn't necessary for freezer and I'm debating whether to > > enable controllers which don't need granularity control to be enabled > > unconditionally. Right now, I'm leaning against it mostly for > > consistency. > > Yeah, IIUC (i.e. freezer would always be enabled?) that would be > even-more-confusing. Right, freezer is kinda weird tho. Its feature can almost be considered a utility feature of cgroups core rather than a separate controller. That said, it's most likely that it'll remain in its current form although how it blocks tasks should definitely be reimplemented. Thanks. -- tejun