Re: [patch 2/2] enables booting a NUMA system where some nodes have no memory

Christoph Lameter
2006-11-16T00:57:56Z

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()?