Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S261266AbVEPFBK (ORCPT ); Mon, 16 May 2005 01:01:10 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S261277AbVEPFBK (ORCPT ); Mon, 16 May 2005 01:01:10 -0400 Received: from fire.osdl.org ([65.172.181.4]:17803 "EHLO smtp.osdl.org") by vger.kernel.org with ESMTP id S261266AbVEPFBG (ORCPT ); Mon, 16 May 2005 01:01:06 -0400 Date: Sun, 15 May 2005 22:00:17 -0700 From: Andrew Morton To: Christoph Lameter Cc: linux-mm@kvack.org, linux-kernel@vger.kernel.org, shai@scalex86.org, steiner@sgi.com Subject: Re: NUMA aware slab allocator V3 Message-Id: <20050515220017.6271c55e.akpm@osdl.org> In-Reply-To: References: <20050512000444.641f44a9.akpm@osdl.org> <20050513000648.7d341710.akpm@osdl.org> <20050513043311.7961e694.akpm@osdl.org> <20050514004204.2302dc52.akpm@osdl.org> X-Mailer: Sylpheed version 1.0.0 (GTK+ 1.2.10; i386-vine-linux-gnu) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1195 Lines: 37 Christoph Lameter wrote: > > Here is Dave's patch again: > > ===================================================================== > I think I found the problem. Could you try the attached patch? > > As I said before FLATMEM is really referring to things like the > mem_map[] or max_mapnr. > > CONFIG_NEED_MULTIPLE_NODES is what gets turned on for DISCONTIG or for > NUMA. We'll slowly be removing all of the DISCONTIG cases, so > eventually it will merge back to be one with NUMA. > > -- Dave > > --- clean/include/linux/numa.h.orig 2005-05-13 06:44:56.000000000 > -0700 > +++ clean/include/linux/numa.h 2005-05-13 06:52:05.000000000 -0700 > @@ -3,7 +3,7 @@ > > #include > > -#ifndef CONFIG_FLATMEM > +#ifdef CONFIG_NEED_MULTIPLE_NODES > #include > #endif Nope. mm/slab.c:117:2: #error "Broken Configuration: CONFIG_NUMA not set but MAX_NUMNODES !=1 !!" - 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/