[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <6599ad830901082237l664fb403y386482a577ed185e@mail.gmail.com>
Date: Thu, 8 Jan 2009 22:37:10 -0800
From: Paul Menage <menage@...gle.com>
To: Li Zefan <lizf@...fujitsu.com>
Cc: KAMEZAWA Hiroyuki <kamezawa.hiroyu@...fujitsu.com>,
"linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>,
"akpm@...ux-foundation.org" <akpm@...ux-foundation.org>
Subject: Re: [RFC][PATCH] NOOP cgroup subsystem
On Thu, Jan 8, 2009 at 10:29 PM, Li Zefan <lizf@...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;
> ...
> }
>
>
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists