Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1424209AbWKPPvW (ORCPT ); Thu, 16 Nov 2006 10:51:22 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1424210AbWKPPvW (ORCPT ); Thu, 16 Nov 2006 10:51:22 -0500 Received: from dvhart.com ([64.146.134.43]:1700 "EHLO dvhart.com") by vger.kernel.org with ESMTP id S1424209AbWKPPvW (ORCPT ); Thu, 16 Nov 2006 10:51:22 -0500 Message-ID: <455C8875.3070109@mbligh.org> Date: Thu, 16 Nov 2006 07:49:09 -0800 From: "Martin J. Bligh" User-Agent: Thunderbird 1.5.0.7 (X11/20060922) MIME-Version: 1.0 To: Christian Krafft Cc: Christoph Lameter , KAMEZAWA Hiroyuki , 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 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> In-Reply-To: <20061116164037.58b3aaeb@localhost> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1418 Lines: 32 Christian Krafft wrote: > On Wed, 15 Nov 2006 16:57:56 -0800 (PST) > Christoph Lameter wrote: > >> On Thu, 16 Nov 2006, KAMEZAWA Hiroyuki wrote: >> >>>> But there is no memory on the node. Does the zonelist contain the zones of >>>> the node without memory or not? We simply fall back each allocation to the >>>> next node as if the node was overflowing? >>> yes. just fallback. >> Ok, so we got a useless pglist_data struct and the struct zone contains a >> zonelist that does not include the zone. > > 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 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 ? You don't want empty zonelists on a node containing CPUs, else it won't know where to allocate from. You just want to make sure that the zones in that node (if existant) are not contained in *anyone's* zonelist. M. - 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/