From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755110Ab1DUVtb (ORCPT ); Thu, 21 Apr 2011 17:49:31 -0400 Received: from bedivere.hansenpartnership.com ([66.63.167.143]:39001 "EHLO bedivere.hansenpartnership.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752874Ab1DUVt3 (ORCPT ); Thu, 21 Apr 2011 17:49:29 -0400 Subject: Re: [PATCH v3] mm: make expand_downwards symmetrical to expand_upwards From: James Bottomley To: David Rientjes Cc: Christoph Lameter , Andrew Morton , KOSAKI Motohiro , Pekka Enberg , Michal Hocko , Hugh Dickins , linux-mm@kvack.org, LKML , linux-parisc@vger.kernel.org, Ingo Molnar , x86 maintainers In-Reply-To: References: <1303317178.2587.30.camel@mulgrave.site> <20110421220351.9180.A69D9226@jp.fujitsu.com> <1303421088.4025.52.camel@mulgrave.site> Content-Type: text/plain; charset="UTF-8" Date: Thu, 21 Apr 2011 16:49:26 -0500 Message-ID: <1303422566.4025.56.camel@mulgrave.site> Mime-Version: 1.0 X-Mailer: Evolution 2.32.1 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, 2011-04-21 at 14:34 -0700, David Rientjes wrote: > On Thu, 21 Apr 2011, James Bottomley wrote: > > > > - parisc: James has already queued "parisc: set memory ranges in > > > N_NORMAL_MEMORY when onlined" for 2.6.39, so all he needs now is > > > to merge a hybrid of the Kconfig changes requiring CONFIG_NUMA for > > > CONFIG_DISCONTIGMEM from KOSAKI-san and myself which also fix the > > > compile issues, > > > > Not quite: if we go this route, we need to sort out our CPU scheduling > > problem as well ... as I said, I don't think we've got all the necessary > > numa machinery in place yet. > > > > Ok, it seems like there're two options for this release cycle: > > (1) merge the patch that enables CONFIG_NUMA for DISCONTIGMEM but only > do so if CONFIG_SLUB is enabled to avoid the build error, or That's not an option without coming up with the rest of the numa fixes ... we can't basically force all SMP systems to become UP. What build error, by the way? There's only a runtime panic caused by slub. > (2) disallow CONFIG_SLUB for parisc with DISCONTIGMEM. Well, that's this patch ... it will actually fix every architecture, not just parisc. > diff --git a/init/Kconfig b/init/Kconfig > index 56240e7..a7ad8fb 100644 > --- a/init/Kconfig > +++ b/init/Kconfig > @@ -1226,6 +1226,7 @@ config SLAB > per cpu and per node queues. > > config SLUB > + depends on BROKEN || NUMA || !DISCONTIGMEM > bool "SLUB (Unqueued Allocator)" > help > SLUB is a slab allocator that minimizes cache line usage I already sent it to linux-arch and there's been no dissent; there have been a few "will that fix my slub bug?" type of responses. James