Re: [PATCH 1/1] x86: Exclude E820_RESERVED regions and memory holesabove 4 GB from direct mapping.

From: H. Peter Anvin
Date: Fri Dec 16 2011 - 13:32:32 EST


On 12/16/2011 10:29 AM, Yinghai Lu wrote:
On Fri, Dec 16, 2011 at 9:54 AM, H. Peter Anvin<hpa@xxxxxxxxx> wrote:


For 2 - why can't we simply make the invariant that E820_RAM is mapped and
nothing else, with the sole exceptions being the 1 MiB (fixed MTRR)?

Yes, we could do that. but need to track mapped area in simple way.
like later memory hotadd or remove to update those tracking.


Well, there are two options for memory hotplug: either we always leave address space that can be used for memory hotplug mapped at all times, or we need to track it anyway. Either way we need to know where there regions are. Am I correct that right now we always map memory hotpluggable regions, being below the top pfn?

-hpa

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