Re: [PATCH] x86: fix pte allocation in "x86: introduce init_memory_mapping for 32bit"

!MAILaRCHIVE_VOTE_RePLACE
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: Yinghai Lu <yhlu.kernel@...>
Cc: Ingo Molnar <mingo@...>, Linux Kernel Mailing List <linux-kernel@...>
Date: Tuesday, June 24, 2008 - 11:49 pm

Yinghai Lu wrote:

This code looks just like the 64-bit code (I guess it's becoming prime 
for unification), and I'd just spent some time debugging a bug in Xen64 
caused by an overrun of the allocated area when creating non-PSE 
mappings of physical memory.  I didn't observe a specific problem with 
this code, but consistency and pattern matching made it seem like a 
necessary addition.  It only ends up reserving the amount of space 
actually used, so there's no wasted memory.

If you use PSE to create the mapping and have enough mapped pages anyway 
(small kernel), then you may not end up using any of this space.

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

Messages in current thread:
[PATCH] x86: fix pte allocation in "x86: introduce init_memo..., Jeremy Fitzhardinge, (Tue Jun 24, 5:32 pm)
Re: [PATCH] x86: fix pte allocation in "x86: introduce init_..., Jeremy Fitzhardinge, (Tue Jun 24, 11:49 pm)