Re: [PATCH] x86: set PAE PHYSICAL_MASK_SHIFT to match 64-bit

!MAILaRCHIVE_VOTE_RePLACE
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: Jeremy Fitzhardinge <jeremy@...>
Cc: Ingo Molnar <mingo@...>, <x86@...>, Linux Kernel Mailing List <linux-kernel@...>, Jan Beulich <jbeulich@...>, Stable Kernel <stable@...>
Date: Thursday, June 5, 2008 - 9:40 pm

Jeremy Fitzhardinge <jeremy@goop.org> writes:

The rationale for the 46 bits is that the kernel needs roughly 4x as 
much virtual space as physical space and the virtual space is limited
to 48bits.

To be exact 47 bits is always user space and the 47 bits remaining
for the kernel are split into half, with one half for the direct mapping
and the other half for random mappings.  With some pushing you could
extend it to 46.5 bits or so, but beyond that you'll be in trouble.

It's not arbitrary at all.

-Andi

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

Messages in current thread:
[PATCH] x86: set PAE PHYSICAL_MASK_SHIFT to match 64-bit, Jeremy Fitzhardinge, (Thu Jun 5, 11:21 am)
Re: [PATCH] x86: set PAE PHYSICAL_MASK_SHIFT to match 64-bit, Arjan van de Ven, (Fri Jun 6, 12:45 am)
Re: [PATCH] x86: set PAE PHYSICAL_MASK_SHIFT to match 64-bit, Jeremy Fitzhardinge, (Fri Jun 6, 4:08 am)
Re: [PATCH] x86: set PAE PHYSICAL_MASK_SHIFT to match 64-bit, Andi Kleen, (Thu Jun 5, 9:40 pm)
Re: [PATCH] x86: set PAE PHYSICAL_MASK_SHIFT to match 64-bit, Jeremy Fitzhardinge, (Fri Jun 6, 3:59 am)
Re: [PATCH] x86: set PAE PHYSICAL_MASK_SHIFT to match 64-bit, Jeremy Fitzhardinge, (Fri Jun 6, 4:15 am)
[PATCH UPDATED] x86: set PAE PHYSICAL_MASK_SHIFT to 44 bits., Jeremy Fitzhardinge, (Fri Jun 6, 5:21 am)
Re: [PATCH UPDATED] x86: set PAE PHYSICAL_MASK_SHIFT to 44 b..., Jeremy Fitzhardinge, (Tue Jun 10, 9:06 am)
Re: [PATCH UPDATED] x86: set PAE PHYSICAL_MASK_SHIFT to 44 b..., Jeremy Fitzhardinge, (Fri Jun 6, 9:50 am)
Re: [PATCH] x86: set PAE PHYSICAL_MASK_SHIFT to match 64-bit, Jeremy Fitzhardinge, (Thu Jun 5, 11:42 am)
Re: [PATCH] x86: set PAE PHYSICAL_MASK_SHIFT to match 64-bit, Jeremy Fitzhardinge, (Thu Jun 5, 5:14 pm)