Re: [linux-pm] [PATCH] hibernation should work ok with memoryhotplug

From: Dave Hansen
Date: Tue Nov 04 2008 - 02:36:29 EST


On Tue, 2008-11-04 at 08:08 +0100, Rafael J. Wysocki wrote:
> A pfn always refers to specific page frame and/or struct page, so yes.
> However, in one of the nodes these pfns are sort of "invalid" (they point
> to struct pages belonging to other zones). AFAICS.

Part of this problem is getting out of the old zone mindset. It used to
be that there were one, two, or three zones, set up at boot, with static
ranges. These never had holes, never changed, and were always stacked
up nice and tightly on top of one another. It ain't that way no more.

Now, the zones are much more truly "allocation pools". They're bunches
of memory with similar attributes and hypervisors or firmware can hand
them to the OS in very interesting ways. This means that the attributes
that help us pool the memory together have less and less to do with
physical addresses. A given physical address a decreasing chance of
being related to its neighbor.

-- Dave

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