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

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


On Tue, 13 Feb 2007 10:50:53 -0800 (PST)
Christoph Lameter <clameter@xxxxxxx> wrote:

> On Tue, 13 Feb 2007, Martin J. Bligh wrote:
>
> > What's wrong with just setting the existing counters like
> > node_spanned_pages / node_present_pages to zero?
>
> Will this fix the breakage that Kame-san saw?
>

Now, memory-less-node's presetn_pages and spanned_pages are zero.
and zone's present_pages is zero, too.

We added populated_zone(zone) macro. This can check a zone has pages or not.
(see build_zonelist in page_alloc.c)

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