Re: [RFC][PATCH] NOOP cgroup subsystem

From: Paul Menage
Date: Fri Jan 09 2009 - 01:37:29 EST


On Thu, Jan 8, 2009 at 10:29 PM, Li Zefan <lizf@xxxxxxxxxxxxxx> 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;
> ...
> }
>
>
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/