From mboxrd@z Thu Jan 1 00:00:00 1970 Date: Mon, 11 Jun 2007 16:40:44 -0700 (PDT) From: Christoph Lameter Subject: Re: [PATCH][RFC] hugetlb: add per-node nr_hugepages sysfs attribute In-Reply-To: <20070611231314.GF14458@us.ibm.com> Message-ID: References: <20070611202728.GD9920@us.ibm.com> <20070611221036.GA14458@us.ibm.com> <20070611225213.GB14458@us.ibm.com> <20070611230829.GC14458@us.ibm.com> <20070611231008.GD14458@us.ibm.com> <20070611231149.GE14458@us.ibm.com> <20070611231314.GF14458@us.ibm.com> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-linux-mm@kvack.org Return-Path: To: Nishanth Aravamudan Cc: lee.schermerhorn@hp.com, anton@samba.org, akpm@linux-foundation.org, linux-mm@kvack.org, wli@holomorphy.com List-ID: On Mon, 11 Jun 2007, Nishanth Aravamudan wrote: > + /* > + * unpopulated nodes can return pages from other nodes for > + * THISNODE requests, so do a populated check and avoid > + * double-checking in the sysctl path > + */ > + if (!node_populated(nid)) > + return count; THISNODE fixes address this issue right? -- 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