Messages in this thread | | | Date | Thu, 8 Jan 2009 22:37:10 -0800 | Subject | Re: [RFC][PATCH] NOOP cgroup subsystem | From | Paul Menage <> |
| |
On Thu, Jan 8, 2009 at 10:29 PM, Li Zefan <lizf@cn.fujitsu.com> wrote: > > Agreed, but it can't work by just removing the checking in cgroup mount option,
Right - it's more complicated than that. There are some places in the code that rely on the fact that every hierarchy currently has at least one subsystem (anything that uses find_first_subsystem() for example) and we'd need to work around that.
Paul
> I just tried it: > > static int parse_cgroupfs_options(char *data, > struct cgroup_sb_opts *opts) > { > ... > - if (!opts->subsys_bits) > - return -EINVAL; > ... > } > >
| |