lkml.org 
[lkml]   [2008]   [Jan]   [10]   [last100]   RSS Feed
Views: [more markup]  [less markup]  [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: [patch 02/11] PAT x86: Map only usable memory in x86_64 identity map and kernel text
FromAndi Kleen <>
DateThu, 10 Jan 2008 20:06:53 +0100
venkatesh.pallipadi@intel.com writes:

> x86_64: Map only usable memory in identity map. 

I don't think that is needed or makes sense for reserved/ACPI * etc. 
Only e820 holes should be truly unmapped because only those should
contain mmio.

> All reserved memory maps to a
> zero page. 

Why zero page?  Why not unmap.

Anyways you could make that a zillion times more simple by just rounding
the e820 areas to 2MB -- for the holes only that should be ok I think; 
i would expect them to be near always already suitably aligned.
In short this can be all done much simpler.

-Andi


\
 
 \ /
  Last update: 2008-01-10 20:09    [from the cache]
©2003-2008