Messages in this thread | | | Date | Wed, 14 Feb 2007 09:20:10 +0900 | From | KAMEZAWA Hiroyuki <> | Subject | Re: [RFC] [PATCH] more support for memory-less-node. |
| |
On Tue, 13 Feb 2007 10:50:53 -0800 (PST) Christoph Lameter <clameter@sgi.com> 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@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |