Re: Does Linux have plan to support memory hole remapping?

!MAILaRCHIVE_VOTE_RePLACE
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: Arne Georg Gleditsch <arne.gleditsch@...>
Cc: Andi Kleen <andi@...>, Zhao Forrest <forrest.zhao@...>, <discuss@...>, <linux-kernel@...>, <yhlu.kernel@...>, <mingo@...>, <ak@...>
Date: Wednesday, April 9, 2008 - 6:03 am

On Wed, Apr 09, 2008 at 11:50:00AM +0200, Arne Georg Gleditsch wrote:

The way it usually works (if it is implemented correctly in the BIOS) 
is that all memory starting at the hole moves up together 
(often subject to DIMM boundaries etc.),
not that the area below the hole is remapped individually.

BTW it is not actually 512MB that is lost. MemTotal does not 
include mem_map and that alone is ~512MB (64 bytes for each 4K page)

So as far as I can see there is no missing memory remapping in Zhao's case, 
he's just confused by the MemTotal semantics.

-Andi
--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Does Linux have plan to support memory hole remapping?, Zhao Forrest, (Wed Apr 9, 3:54 am)
Re: Does Linux have plan to support memory hole remapping?, Arne Georg Gleditsch, (Wed Apr 9, 5:50 am)
Re: Does Linux have plan to support memory hole remapping?, Lennart Sorensen, (Wed Apr 9, 9:34 am)
Re: Does Linux have plan to support memory hole remapping?, Andi Kleen, (Wed Apr 9, 6:03 am)
Re: Does Linux have plan to support memory hole remapping?, Arne Georg Gleditsch, (Wed Apr 9, 6:16 am)
Re: Does Linux have plan to support memory hole remapping?, Kasper Sandberg, (Wed Apr 9, 8:34 pm)
Re: Does Linux have plan to support memory hole remapping?, H. Peter Anvin, (Wed Apr 9, 10:09 pm)
Re: Does Linux have plan to support memory hole remapping?, Kasper Sandberg, (Thu Apr 10, 8:41 am)