Re: [RFC][PATCH 9/11] memcg : mem+swap controlelr kconfig

Daisuke Nishimura
2008-10-27T07:24:57Z

On Mon, 27 Oct 2008 15:17:07 +0800, Li Zefan <lizf@cn.fujitsu.com> wrote:
> > BTW, is there any reason to call cgroup_init_subsys() even when the subsys
> > is disabled by boot option?
> >
>
> Yes, because cgroup_init_subsys() is called by cgroup_init() and cgroup_init_early().
> When cgroup_init_earsy() gets called, the boot param hasn't been parsed, so we don't
> know which subsystems are disabled at that time.
>
Oh, I see.

Thank you for your explanation.

Daisuke Nishimura.