Re: [RFC] [PATCH] more support for memory-less-node.

From: KAMEZAWA Hiroyuki
Date: Tue Feb 13 2007 - 19:14:02 EST


On Tue, 13 Feb 2007 09:25:00 -0800 (PST)
Christoph Lameter <clameter@xxxxxxx> wrote:

> On Tue, 13 Feb 2007, KAMEZAWA Hiroyuki wrote:
>
> > NOD_DATA(nid) is always valid pointer if a node is online.
> > NODE_DATA(nid)->present_pages can be 0 even if a node is online,
> > I call this as memory-less-node.
>
> Yes but the pgdat will have no valid zone in it. That is new.
>
we have populated_zone() macro for checking it.

(I noticed node-hotplug can create memory-less-zone until memory is
onlined by the user.)


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