[Devel] Re: [PATCH 7/9] [RFC] Support multiply-bindable cgroup subsystems

Paul Menage menage at google.com
Wed Jul 1 19:52:16 PDT 2009


On Wed, Jul 1, 2009 at 7:45 PM, KAMEZAWA
Hiroyuki<kamezawa.hiroyu at jp.fujitsu.com> wrote:
>> - in the current version of this patch, mounting a cgroups hierarchy
>>   with no options does *not* get you any of the multi-bindable
>>   subsystems; possibly for consistency it should give you all of the
>>   multi-bindable subsystems as well as all of the single-bindable
>>   subsystems.
>>
> I don't think this is a big problem. Hmm, I wonder there are no people who
> uses cgroup without any options (= mounts all subsys at once)...

In practice I suspect that it's a rare usage outside of manual
playing/testing - any real production system is going to want to be
aware of what subsystems are available and decide which to mount on
each hierarchy.

>
> Wow...seems complicated. How about adding linux/cgroup_multisubsys.h ?

I think that the readability benefits in cgroup.c would be outweighed
by having two different subsys include files.

Paul
_______________________________________________
Containers mailing list
Containers at lists.linux-foundation.org
https://lists.linux-foundation.org/mailman/listinfo/containers




More information about the Devel mailing list