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

From: KAMEZAWA Hiroyuki
Date: Wed Nov 15 2006 - 19:56:40 EST


On Wed, 15 Nov 2006 14:51:26 -0800 (PST)
Christoph Lameter <clameter@xxxxxxx> wrote:

> On Wed, 15 Nov 2006, Martin Bligh wrote:
>
> > Supposing we hot-unplugged all the memory in a node? Or seems to have
> > happened in this instance is boot with mem=, cutting out memory on that
> > node.
>
> So a node with no memory has a pgdat_list structure but no zones? Or empty
> zones?
>

The node has just empty-zone. pgdat/per-cpu-area is allocated on an other
(nearest) node.

I hear some vender's machine has this configuration. (ia64, maybe SGI or HP)

Node0: CPUx0 + XXXGb memory
Node1: CPUx2 + 16MB memory
Node2: CPUx2 + 16MB memory

memory of Node1 and Node2 is tirmmed at boot by GRANULE alignment.
Then, final view is
Node0 : memory-only-node
Node1 : cpu-only-node
Node2 : cpu-only-node.

-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/