Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1162110AbWKPAqL (ORCPT ); Wed, 15 Nov 2006 19:46:11 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1162126AbWKPAqK (ORCPT ); Wed, 15 Nov 2006 19:46:10 -0500 Received: from omx2-ext.sgi.com ([192.48.171.19]:46286 "EHLO omx2.sgi.com") by vger.kernel.org with ESMTP id S1162110AbWKPAqJ (ORCPT ); Wed, 15 Nov 2006 19:46:09 -0500 Date: Wed, 15 Nov 2006 16:45:29 -0800 (PST) From: Christoph Lameter To: Arnd Bergmann cc: Martin Bligh , Christian Krafft , linux-mm@kvack.org, linux-kernel@vger.kernel.org Subject: Re: [patch 2/2] enables booting a NUMA system where some nodes have no memory In-Reply-To: <200611160126.02016.arnd@arndb.de> Message-ID: References: <20061115193049.3457b44c@localhost> <455B8F3A.6030503@mbligh.org> <200611160126.02016.arnd@arndb.de> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 931 Lines: 18 On Thu, 16 Nov 2006, Arnd Bergmann wrote: > - we want to be able to boot with the 'mem=512M' option, which effectively > disables the memory on the second node (each node has 512MiB). > - Each node has 8 SPUs, all of which we want to use. In order to use an > SPU, we call __add_pages to register the local memory on it, so we have > struct page pointers we can hand out to user mappings with ->nopage(). This is more like the bringup of a processor right? You need to have the memory online before the processor is brought up otherwise the slab cannot properly allocate its structures on the node when the per node portion is brought up. The page allocator has similar issues. - 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/