From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <491B853D.1020204@cn.fujitsu.com> Date: Thu, 13 Nov 2008 09:39:09 +0800 From: Li Zefan MIME-Version: 1.0 Subject: Re: [RFC][mm] [PATCH 4/4] Memory cgroup hierarchy feature selector (v3) References: <20081111123314.6566.54133.sendpatchset@balbir-laptop> <20081111123448.6566.55973.sendpatchset@balbir-laptop> In-Reply-To: <20081111123448.6566.55973.sendpatchset@balbir-laptop> Content-Type: text/plain; charset=GB2312 Content-Transfer-Encoding: 7bit Sender: owner-linux-mm@kvack.org Return-Path: To: Balbir Singh Cc: linux-mm@kvack.org, YAMAMOTO Takashi , Paul Menage , linux-kernel@vger.kernel.org, Nick Piggin , David Rientjes , Pavel Emelianov , Dhaval Giani , Andrew Morton , KAMEZAWA Hiroyuki List-ID: > @@ -137,6 +137,11 @@ struct mem_cgroup { > * reclaimed from. Protected by cgroup_lock() > */ > struct mem_cgroup *last_scanned_child; > + /* > + * Should the accounting and control be hierarchical, per subtree? > + */ > + unsigned long use_hierarchy; > + A minor comment, 'unsigned int' is sufficient, then we save 4 bytes per mem_cgroup on 64 bits machines. > }; -- 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