From mboxrd@z Thu Jan 1 00:00:00 1970 From: Glauber Costa Subject: Re: [PATCH 03/10] cgroup: implement cgroup_add_cftypes() and friends Date: Tue, 20 Mar 2012 20:04:57 +0400 Message-ID: <4F68AAA9.3060205@parallels.com> References: <1331940963-15756-1-git-send-email-tj@kernel.org> <1331940963-15756-4-git-send-email-tj@kernel.org> <877gyfu025.fsf@linux.vnet.ibm.com> <20120320160347.GE5684@google.com> Mime-Version: 1.0 Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <20120320160347.GE5684-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 Content-Type: text/plain; charset="us-ascii"; format="flowed" To: Tejun Heo Cc: ctalbott-hpIqsD4AKlfQT0dZR+AlfA@public.gmane.org, rni-hpIqsD4AKlfQT0dZR+AlfA@public.gmane.org, fweisbec-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org, containers-cunTk1MwBs9QetFLy7KEm3xJsTq8ys+cHZ5vskTnxNA@public.gmane.org, linux-kernel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, "Aneesh Kumar K.V" , cgroups-u79uwXL29TY76Z2rM5mHXA@public.gmane.org On 03/20/2012 08:03 PM, Tejun Heo wrote: > Hello, Aneesh. > > On Tue, Mar 20, 2012 at 02:22:02PM +0530, Aneesh Kumar K.V wrote: >> Instead of using CGROUP_SUBSYS_CFTYPES_COND, are you ok if other >> subsystem called cgroup_add_cftypes ?. I am looking at how this will >> impact http://article.gmane.org/gmane.linux.kernel.mm/75470 . With >> HugeTLB we cannot do the above. > > Yeah, sure. Allowing dyanmic additions and removals of cftypes is the > whole point of the patchset. > > Thanks. > Aneesh, I think what I ended up doing for the sock memcg will suit you quite well. Stay tuned.