Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755524Ab1DUWTN (ORCPT ); Thu, 21 Apr 2011 18:19:13 -0400 Received: from smtp-out.google.com ([74.125.121.67]:45299 "EHLO smtp-out.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753304Ab1DUWTL (ORCPT ); Thu, 21 Apr 2011 18:19:11 -0400 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=VFzAM3hHi8AFk2HoVagBi+HWV4QI2gRMOPYJzDfvC73xl13PEeFSmj20+2VC+tAFag rllkNmW0Z/3addU3cmyg== Date: Thu, 21 Apr 2011 15:19:01 -0700 (PDT) From: David Rientjes X-X-Sender: rientjes@chino.kir.corp.google.com To: James Bottomley cc: Christoph Lameter , Pekka Enberg , Matthew Wilcox , KOSAKI Motohiro , Michal Hocko , Andrew Morton , Hugh Dickins , linux-mm@kvack.org, LKML , linux-parisc@vger.kernel.org, Ingo Molnar , x86 maintainers , linux-arch@vger.kernel.org, Mel Gorman Subject: Re: [PATCH v3] mm: make expand_downwards symmetrical to expand_upwards In-Reply-To: <1303401997.4025.8.camel@mulgrave.site> Message-ID: References: <20110420102314.4604.A69D9226@jp.fujitsu.com> <20110420161615.462D.A69D9226@jp.fujitsu.com> <20110420112020.GA31296@parisc-linux.org> <1303308938.2587.8.camel@mulgrave.site> <1303311779.2587.19.camel@mulgrave.site> <1303401997.4025.8.camel@mulgrave.site> User-Agent: Alpine 2.00 (DEB 1167 2008-08-23) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-System-Of-Record: true Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 858 Lines: 26 On Thu, 21 Apr 2011, James Bottomley wrote: > diff --git a/mm/slub.c b/mm/slub.c > index 94d2a33..243bd9c 100644 > --- a/mm/slub.c > +++ b/mm/slub.c > @@ -235,7 +235,11 @@ int slab_is_available(void) > > static inline struct kmem_cache_node *get_node(struct kmem_cache *s, int node) > { > +#ifdef CONFIG_NUMA > return s->node[node]; > +#else > + return s->node[0]; > +#endif > } > > /* Verify that a pointer has an address that is valid within a slab page */ Looks like parisc may have been just fine before 7340cc84141d (slub: reduce differences between SMP and NUMA), which was merged into 2.6.37? -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/