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

Li Zefan
2008-10-27T07:17:07Z

> 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.