Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1162138AbWKPA6a (ORCPT ); Wed, 15 Nov 2006 19:58:30 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1162139AbWKPA63 (ORCPT ); Wed, 15 Nov 2006 19:58:29 -0500 Received: from omx2-ext.sgi.com ([192.48.171.19]:53455 "EHLO omx2.sgi.com") by vger.kernel.org with ESMTP id S1162138AbWKPA63 (ORCPT ); Wed, 15 Nov 2006 19:58:29 -0500 Date: Wed, 15 Nov 2006 16:57:56 -0800 (PST) From: Christoph Lameter To: KAMEZAWA Hiroyuki cc: mbligh@mbligh.org, steiner@sgi.com, krafft@de.ibm.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: <20061116095429.0e6109a7.kamezawa.hiroyu@jp.fujitsu.com> Message-ID: References: <20061115193049.3457b44c@localhost> <20061115193437.25cdc371@localhost> <20061115215845.GB20526@sgi.com> <455B9825.3030403@mbligh.org> <20061116095429.0e6109a7.kamezawa.hiroyu@jp.fujitsu.com> 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: 945 Lines: 23 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. numa_node_id() points to this and we always get allocations redirected to other nodes. The slab duplicates its per node structures on the fallback node. > The zonelist[] donen't contain empty-zone. So we will never encounter that zone except when going to the pglist_data struct through numa_node_id()? - 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/