From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail143.messagelabs.com (mail143.messagelabs.com [216.82.254.35]) by kanga.kvack.org (Postfix) with ESMTP id A31038D003B for ; Thu, 21 Apr 2011 18:50:53 -0400 (EDT) Received: from wpaz29.hot.corp.google.com (wpaz29.hot.corp.google.com [172.24.198.93]) by smtp-out.google.com with ESMTP id p3LMJ8H2007919 for ; Thu, 21 Apr 2011 15:19:09 -0700 Received: from pxi16 (pxi16.prod.google.com [10.243.27.16]) by wpaz29.hot.corp.google.com with ESMTP id p3LMIBEt007111 (version=TLSv1/SSLv3 cipher=RC4-SHA bits=128 verify=NOT) for ; Thu, 21 Apr 2011 15:19:07 -0700 Received: by pxi16 with SMTP id 16so97381pxi.32 for ; Thu, 21 Apr 2011 15:19:07 -0700 (PDT) Date: Thu, 21 Apr 2011 15:19:01 -0700 (PDT) From: David Rientjes 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> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-linux-mm@kvack.org List-ID: 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 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, 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