From patchwork Wed Apr 20 21:05:16 2011 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: David Rientjes X-Patchwork-Id: 723321 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by demeter1.kernel.org (8.14.4/8.14.3) with ESMTP id p3KL5jJI008505 for ; Wed, 20 Apr 2011 21:05:46 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755805Ab1DTVFe (ORCPT ); Wed, 20 Apr 2011 17:05:34 -0400 Received: from smtp-out.google.com ([74.125.121.67]:52881 "EHLO smtp-out.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750707Ab1DTVFc (ORCPT ); Wed, 20 Apr 2011 17:05:32 -0400 Received: from wpaz1.hot.corp.google.com (wpaz1.hot.corp.google.com [172.24.198.65]) by smtp-out.google.com with ESMTP id p3KL5SI5020288 for ; Wed, 20 Apr 2011 14:05:28 -0700 DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d=google.com; s=beta; t=1303333528; bh=BO9qtZnYdTORnkEp461YtwHlqsA=; h=Date:From:To:cc:Subject:In-Reply-To:Message-ID:References: MIME-Version:Content-Type; b=dydiDRa7EwcZqFqbHpcQK09pehpnwfzXpIp9PPp41n028pOZlMRYzkJ79FztEvZD7 HU49aGTgK76gQuaofToMw== Received: from pve37 (pve37.prod.google.com [10.241.210.37]) by wpaz1.hot.corp.google.com with ESMTP id p3KL50rU031082 (version=TLSv1/SSLv3 cipher=RC4-SHA bits=128 verify=NOT) for ; Wed, 20 Apr 2011 14:05:18 -0700 Received: by pve37 with SMTP id 37so737789pve.7 for ; Wed, 20 Apr 2011 14:05:18 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=beta; h=domainkey-signature:date:from:x-x-sender:to:cc:subject:in-reply-to :message-id:references:user-agent:mime-version:content-type; bh=gTcaHTtuu+6oal2ui0N9lp9Cpr7PHzZQqH/Rc+1XGZg=; b=Tzu+7WCCiLRq1KZ65Lfnhhvq67/qRcgvbYagT65Ygj2ich7x1+1YxQIqR9PtTNU8T1 7R/M7w6amV2DJcWL/SjA== DomainKey-Signature: a=rsa-sha1; c=nofws; d=google.com; s=beta; h=date:from:x-x-sender:to:cc:subject:in-reply-to:message-id :references:user-agent:mime-version:content-type; b=O96TLdF9sL0dqxT3wkIpS8ejD3khCTOfIrzKwRLs+KRZSaPK846T275CPCatGR3Yoz PAEgNYSE8dFFIrR3rUCQ== Received: by 10.68.40.232 with SMTP id a8mr11707017pbl.340.1303333517917; Wed, 20 Apr 2011 14:05:17 -0700 (PDT) Received: from chino.kir.corp.google.com (chino.kir.corp.google.com [172.31.6.12]) by mx.google.com with ESMTPS id m7sm843622pbd.33.2011.04.20.14.05.16 (version=TLSv1/SSLv3 cipher=OTHER); Wed, 20 Apr 2011 14:05:17 -0700 (PDT) Date: Wed, 20 Apr 2011 14:05:16 -0700 (PDT) From: David Rientjes X-X-Sender: rientjes@chino.kir.corp.google.com To: KOSAKI Motohiro cc: Pekka Enberg , Christoph Lameter , James Bottomley , Michal Hocko , Andrew Morton , Hugh Dickins , linux-mm@kvack.org, LKML , linux-parisc@vger.kernel.org, Ingo Molnar , x86 maintainers Subject: Re: [PATCH v3] mm: make expand_downwards symmetrical to expand_upwards In-Reply-To: <20110420174027.4631.A69D9226@jp.fujitsu.com> Message-ID: References: <20110420161615.462D.A69D9226@jp.fujitsu.com> <20110420174027.4631.A69D9226@jp.fujitsu.com> User-Agent: Alpine 2.00 (DEB 1167 2008-08-23) MIME-Version: 1.0 X-System-Of-Record: true Sender: linux-parisc-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-parisc@vger.kernel.org X-Greylist: IP, sender and recipient auto-whitelisted, not delayed by milter-greylist-4.2.6 (demeter1.kernel.org [140.211.167.41]); Wed, 20 Apr 2011 21:06:17 +0000 (UTC) On Wed, 20 Apr 2011, KOSAKI Motohiro wrote: > diff --git a/arch/parisc/Kconfig b/arch/parisc/Kconfig > index 69ff049..0bf9ae8 100644 > --- a/arch/parisc/Kconfig > +++ b/arch/parisc/Kconfig > @@ -229,6 +229,12 @@ config HOTPLUG_CPU > default y if SMP > select HOTPLUG > > +config NUMA > + bool "NUMA support" > + help > + Say Y to compile the kernel to support NUMA (Non-Uniform Memory > + Access). > + > config ARCH_SELECT_MEMORY_MODEL > def_bool y > depends on 64BIT > @@ -236,6 +242,7 @@ config ARCH_SELECT_MEMORY_MODEL > config ARCH_DISCONTIGMEM_ENABLE > def_bool y > depends on 64BIT > + depends on NUMA > > config ARCH_FLATMEM_ENABLE > def_bool y I think this should probably be instead since we don't need CONFIG_NUMA for anything other than CONFIG_PA8X00 and 64-bit enabled. --- To unsubscribe from this list: send the line "unsubscribe linux-parisc" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html diff --git a/arch/parisc/Kconfig b/arch/parisc/Kconfig --- a/arch/parisc/Kconfig +++ b/arch/parisc/Kconfig @@ -244,6 +244,9 @@ config ARCH_DISCONTIGMEM_DEFAULT def_bool y depends on ARCH_DISCONTIGMEM_ENABLE +config NUMA + def_bool ARCH_DISCONTIGMEM_ENABLE + config NODES_SHIFT int default "3"