From mboxrd@z Thu Jan 1 00:00:00 1970 Date: Mon, 27 Oct 2008 16:24:57 +0900 From: Daisuke Nishimura Subject: Re: [RFC][PATCH 9/11] memcg : mem+swap controlelr kconfig Message-Id: <20081027162457.bb578331.nishimura@mxp.nes.nec.co.jp> In-Reply-To: <49056AF3.1000901@cn.fujitsu.com> References: <20081023175800.73afc957.kamezawa.hiroyu@jp.fujitsu.com> <20081023181220.80dc24c5.kamezawa.hiroyu@jp.fujitsu.com> <20081027153911.c28285ad.nishimura@mxp.nes.nec.co.jp> <49056AF3.1000901@cn.fujitsu.com> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-linux-mm@kvack.org Return-Path: To: Li Zefan Cc: nishimura@mxp.nes.nec.co.jp, KAMEZAWA Hiroyuki , "linux-mm@kvack.org" , "balbir@linux.vnet.ibm.com" , "xemul@openvz.org" , "menage@google.com" List-ID: On Mon, 27 Oct 2008 15:17:07 +0800, Li Zefan 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. -- To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to majordomo@kvack.org. For more info on Linux MM, see: http://www.linux-mm.org/ . Don't email: email@kvack.org