From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail138.messagelabs.com (mail138.messagelabs.com [216.82.249.35]) by kanga.kvack.org (Postfix) with SMTP id 0F7668D003B for ; Wed, 20 Apr 2011 10:15:42 -0400 (EDT) Subject: Re: [PATCH v3] mm: make expand_downwards symmetrical to expand_upwards From: James Bottomley In-Reply-To: References: <20110420102314.4604.A69D9226@jp.fujitsu.com> <20110420161615.462D.A69D9226@jp.fujitsu.com> <20110420112020.GA31296@parisc-linux.org> Content-Type: text/plain; charset="UTF-8" Date: Wed, 20 Apr 2011 09:15:37 -0500 Message-ID: <1303308938.2587.8.camel@mulgrave.site> Mime-Version: 1.0 Content-Transfer-Encoding: 7bit Sender: owner-linux-mm@kvack.org List-ID: To: Pekka Enberg Cc: Matthew Wilcox , KOSAKI Motohiro , Christoph Lameter , Michal Hocko , Andrew Morton , Hugh Dickins , linux-mm@kvack.org, LKML , linux-parisc@vger.kernel.org, David Rientjes , Ingo Molnar , x86 maintainers , linux-arch@vger.kernel.org [added linux-arch to cc since we're going to be affecting them] On Wed, 2011-04-20 at 14:28 +0300, Pekka Enberg wrote: > Right. My point was simply that since x86 doesn't support DISCONTIGMEM > without NUMA, the misunderstanding is likely very wide-spread. Why don't we approach the problem in a few separate ways then. 1. We can look at what imposing NUMA on the DISCONTIGMEM archs would do ... the embedded ones are going to be hardest hit, but if it's not too much extra code, it might be palatable. 2. The other is that we can audit mm to look at all the node assumptions in the non-numa case. My suspicion is that accidentally or otherwise, it mostly works for the normal case, so there might not be much needed to pull it back to working properly for DISCONTIGMEM. 3. Finally we could look at deprecating DISCONTIGMEM in favour of SPARSEMEM, but we'd still need to fix -stable for that case. Especially as it will take time to convert all the architectures I'm certainly with Matthew: DISCONTIGMEM is supposed to be a lightweight framework which allows machines with split physical memory ranges to work. That's a very common case nowadays. Numa is supposed to be a heavyweight framework to preserve node locality for non-uniform memory access boxes (which none of the DISCONTIGMEM && !NUMA systems are). James -- 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/ . Fight unfair telecom internet charges in Canada: sign http://stopthemeter.ca/ Don't email: email@kvack.org