Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1162236AbWKPSqw (ORCPT ); Thu, 16 Nov 2006 13:46:52 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1162240AbWKPSqw (ORCPT ); Thu, 16 Nov 2006 13:46:52 -0500 Received: from omx2-ext.sgi.com ([192.48.171.19]:41659 "EHLO omx2.sgi.com") by vger.kernel.org with ESMTP id S1162236AbWKPSqv (ORCPT ); Thu, 16 Nov 2006 13:46:51 -0500 Date: Thu, 16 Nov 2006 10:46:16 -0800 (PST) From: Christoph Lameter To: Christian Krafft cc: KAMEZAWA Hiroyuki , mbligh@mbligh.org, steiner@sgi.com, 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: <20061116164037.58b3aaeb@localhost> Message-ID: References: <20061115193049.3457b44c@localhost> <20061115193437.25cdc371@localhost> <20061115215845.GB20526@sgi.com> <455B9825.3030403@mbligh.org> <20061116095429.0e6109a7.kamezawa.hiroyu@jp.fujitsu.com> <20061116164037.58b3aaeb@localhost> 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: 1030 Lines: 23 On Thu, 16 Nov 2006, Christian Krafft wrote: > Okay, I slowly understand what you are talking about. > I just tried a "numactl --cpunodebind 1 --membind 1 true" which hit an uninitialized zone in slab_node: > > return zone_to_nid(policy->v.zonelist->zones[0]); I think the above should work fine and give the expected OOM since the node has no memory. The zone struct should redirect via the zonelist to nodes that have memory for allocations that are not bound to a single node. > I also still don't know if it makes sense to have memoryless nodes, but supporting it does. > So wath would be reasonable, to have empty zonelists for those node, or to check if zonelists are uninitialized ? zonelists of those nodes should contain a list of fallback zones with available memory. - 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/