From mboxrd@z Thu Jan 1 00:00:00 1970 Date: Fri, 2 Feb 2007 11:13:52 -0800 (PST) From: Christoph Lameter Subject: Re: Slab: reduce size of alien cache to cover only possible nodes In-Reply-To: <20070201235518.6c901bbf.akpm@linux-foundation.org> Message-ID: References: <20070201235518.6c901bbf.akpm@linux-foundation.org> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-linux-mm@kvack.org Return-Path: To: Andrew Morton Cc: linux-mm@kvack.org, Pekka Enberg List-ID: On Thu, 1 Feb 2007, Andrew Morton wrote: > > The initialization of nr_node_ids occurred too late relative to the bootstrap > > of the slab allocator and so I moved the setup_nr_node_ids() into > > free_area_init_nodes(). > > How does/will this play with node hotplug? Not at all, afaict. Plays well. You cannot plug in node that is not in the node possible map and we use the node possible map for nr_node_id calculation. -- 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/ . Don't email: email@kvack.org