From mboxrd@z Thu Jan 1 00:00:00 1970 Date: Sat, 07 Jun 2008 15:47:17 +0900 From: KOSAKI Motohiro Subject: Re: [PATCH] memcg: clean up checking of the disabled flag In-Reply-To: <4848955D.2020302@cn.fujitsu.com> References: <4848955D.2020302@cn.fujitsu.com> Message-Id: <20080607154422.9C61.KOSAKI.MOTOHIRO@jp.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: kosaki.motohiro@jp.fujitsu.com, Andrew Morton , Paul Menage , Balbir Singh , KAMEZAWA Hiroyuki , LKML , "linux-mm@kvack.org" List-ID: > Those checks are unnecessary, because when the subsystem is disabled > it can't be mounted, so those functions won't get called. > > The check is needed in functions which will be called in other places > except cgroup. > > Signed-off-by: Li Zefan nice. Acked-by: KOSAKI Motohiro -- 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