From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from ozlabs.org (ozlabs.org [203.10.76.45]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client CN "mx.ozlabs.org", Issuer "CA Cert Signing Authority" (verified OK)) by bilbo.ozlabs.org (Postfix) with ESMTPS id 08594B70CB for ; Tue, 9 Jun 2009 20:38:09 +1000 (EST) Received: from gir.skynet.ie (gir.skynet.ie [193.1.99.77]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by ozlabs.org (Postfix) with ESMTPS id 958F0DDD0C for ; Tue, 9 Jun 2009 20:38:05 +1000 (EST) Date: Tue, 9 Jun 2009 11:37:55 +0100 From: Mel Gorman To: Robin Holt Subject: Re: [PATCH v4] zone_reclaim is always 0 by default Message-ID: <20090609103754.GN18380@csn.ul.ie> References: <20090604192236.9761.A69D9226@jp.fujitsu.com> <20090608115048.GA15070@csn.ul.ie> <20090609095507.GA9851@attica.americas.sgi.com> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-15 In-Reply-To: <20090609095507.GA9851@attica.americas.sgi.com> Cc: Rik van Riel , Christoph Lameter , linux-mm , "Zhang, Yanmin" , LKML , linuxppc-dev@ozlabs.org, KOSAKI Motohiro , linux-ia64@vger.kernel.org, Andrew Morton , Wu Fengguang List-Id: Linux on PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , On Tue, Jun 09, 2009 at 04:55:07AM -0500, Robin Holt wrote: > On Mon, Jun 08, 2009 at 12:50:48PM +0100, Mel Gorman wrote: > > Let me start by saying I agree completely with everything you wrote and > still disagree with this patch, but was willing to compromise and work > around this for our upcoming x86_64 machine by putting a "value add" > into our packaging of adding a sysctl that turns reclaim back on. > To be honest, I'm more leaning towards a NACK than an ACK on this one. I don't support enough NUMA machines to feel strongly enough about it but unconditionally setting zone_reclaim_mode to 0 on x86-64 just because i7's might be there seems ill-advised to me and will have other consequences for existing more traditional x86-64 NUMA machines. > ... > > > Index: b/arch/powerpc/include/asm/topology.h > > > =================================================================== > > > --- a/arch/powerpc/include/asm/topology.h > > > +++ b/arch/powerpc/include/asm/topology.h > > > @@ -10,6 +10,12 @@ struct device_node; > > > > > > #include > > > > > > +/* > > > + * Distance above which we begin to use zone reclaim > > > + */ > > > +#define RECLAIM_DISTANCE 20 > > > + > > > + > > > > Where is the ia-64-specific modifier to RECAIM_DISTANCE? > > It was already defined as 15 in arch/ia64/include/asm/topology.h > /me slaps self thanks -- Mel Gorman Part-time Phd Student Linux Technology Center University of Limerick IBM Dublin Software Lab