From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-qa0-f50.google.com (mail-qa0-f50.google.com [209.85.216.50]) by kanga.kvack.org (Postfix) with ESMTP id CAFF16B0036 for ; Wed, 29 Jan 2014 10:55:50 -0500 (EST) Received: by mail-qa0-f50.google.com with SMTP id cm18so2686785qab.9 for ; Wed, 29 Jan 2014 07:55:50 -0800 (PST) Received: from qmta15.emeryville.ca.mail.comcast.net (qmta15.emeryville.ca.mail.comcast.net. [2001:558:fe2d:44:76:96:27:228]) by mx.google.com with ESMTP id d67si2013889qgf.25.2014.01.29.07.55.49 for ; Wed, 29 Jan 2014 07:55:50 -0800 (PST) Date: Wed, 29 Jan 2014 09:55:47 -0600 (CST) From: Christoph Lameter Subject: Re: [PATCH] powerpc: enable CONFIG_HAVE_MEMORYLESS_NODES In-Reply-To: <20140128183457.GA9315@linux.vnet.ibm.com> Message-ID: References: <20140128183457.GA9315@linux.vnet.ibm.com> Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-linux-mm@kvack.org List-ID: To: Nishanth Aravamudan Cc: Anton Blanchard , Wanpeng Li , David Rientjes , Joonsoo Kim , Pekka Enberg , Matt Mackall , Ben Herrenschmidt , Paul Mackerras , linux-mm@kvack.org, linuxppc-dev@lists.ozlabs.org On Tue, 28 Jan 2014, Nishanth Aravamudan wrote: > Anton Blanchard found an issue with an LPAR that had no memory in Node > 0. Christoph Lameter recommended, as one possible solution, to use > numa_mem_id() for locality of the nearest memory node-wise. However, > numa_mem_id() [and the other related APIs] are only useful if > CONFIG_HAVE_MEMORYLESS_NODES is set. This is only the case for ia64 > currently, but clearly we can have memoryless nodes on ppc64. Add the > Kconfig option and define it to be the same value as CONFIG_NUMA. Well this is trivial but if you need encouragement: Reviewed-by: Christoph Lameter -- 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