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

From: KAMEZAWA Hiroyuki
Date: Wed Nov 15 2006 - 20:14:28 EST


On Wed, 15 Nov 2006 16:57:56 -0800 (PST)
Christoph Lameter <clameter@xxxxxxx> wrote:
> 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()?
>
Some pgdat/zone scanning code will access it.
See: for_each_zone() and populated_zone().

AFAIK, in 2.6.9 age(means RHEL4), cpus on memory-less-node are moved to the
nearest node. And there were no useless pgdat.

Now, there are memory-less-node. Cpus on memory-less-node are on a pgdat
with empty-zone. I think this is very simple way rather than remapping.
And I think cpus on memory-less-node are sharing something (FSB,switch,etc..)
Tieing cpus to a memory-less-node may have some benefit.

-Kame

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/