From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from psmtp.com (na3sys010amx105.postini.com [74.125.245.105]) by kanga.kvack.org (Postfix) with SMTP id 8DC206B0069 for ; Mon, 29 Oct 2012 17:08:08 -0400 (EDT) Received: by mail-da0-f41.google.com with SMTP id i14so2824150dad.14 for ; Mon, 29 Oct 2012 14:08:07 -0700 (PDT) Date: Mon, 29 Oct 2012 14:08:05 -0700 (PDT) From: David Rientjes Subject: Re: [V5 PATCH 08/26] memcontrol: use N_MEMORY instead N_HIGH_MEMORY In-Reply-To: <20121029205806.GB21640@dhcp22.suse.cz> Message-ID: References: <1351523301-20048-1-git-send-email-laijs@cn.fujitsu.com> <1351524078-20363-7-git-send-email-laijs@cn.fujitsu.com> <20121029162212.GE20757@dhcp22.suse.cz> <20121029205806.GB21640@dhcp22.suse.cz> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-linux-mm@kvack.org List-ID: To: Michal Hocko Cc: Lai Jiangshan , Mel Gorman , LKML , x86 maintainers , Jiang Liu , Rusty Russell , Yinghai Lu , KAMEZAWA Hiroyuki , Yasuaki ISIMATU , Andrew Morton , Johannes Weiner , Balbir Singh , Tejun Heo , Li Zefan , cgroups@vger.kernel.org, linux-mm@kvack.org, containers@lists.linux-foundation.org On Mon, 29 Oct 2012, Michal Hocko wrote: > > > > N_HIGH_MEMORY stands for the nodes that has normal or high memory. > > > > N_MEMORY stands for the nodes that has any memory. > > > > > > What is the difference of those two? > > > > > > > Patch 5 in the series > > Strange, I do not see that one at the mailing list. > http://marc.info/?l=linux-kernel&m=135152595827692 > > introduces it to be equal to N_HIGH_MEMORY, so > > So this is just a rename? If yes it would be much esier if it was > mentioned in the patch description. > It's not even a rename even though it should be, it's adding yet another node_states that is equal to N_HIGH_MEMORY since that state already includes all memory. It's just a matter of taste but I think we should be renaming it instead of aliasing it (unless you actually want to make N_HIGH_MEMORY only include nodes with highmem, but nothing depends on that). -- 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