Re: [PATCH] x86: Construct 32 bit boot time page tables in native format.

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Eric W. Biederman
Date: Friday, January 25, 2008 - 4:07 am

Jeremy Fitzhardinge <jeremy@goop.org> writes:


Good.  Then this case gets easy.

We just need a pgd that has pgd entries that duplicate the kernel pgd entries
at both address 0 and at the normal kernel address.

In 64bit mode we make this part of the trampoline because we need a pgt below
4G so that we can point a 32bit %cr3 value at it.  We can either use that
technique for the 32bit kernel (and be consistent) or we can have a single
trampoline/wakeup pgd that we use.  As all pgd entries must be below 4G in
32bit mode.

Although if we really wanted to be restrictive we could have a much more limited
set of identity page table entries that only map the low 1M, or possibly just
640K.

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

Messages in current thread:
[PATCH] x86: make nx_enabled conditional on CONFIG_X86_PAE, Harvey Harrison, (Tue Jan 22, 2:00 pm)
Re: [PATCH] x86: Construct 32 bit boot time page tables in ..., Jeremy Fitzhardinge, (Wed Jan 23, 6:06 pm)
Re: [PATCH] x86: Construct 32 bit boot time page tables in ..., Jeremy Fitzhardinge, (Thu Jan 24, 3:35 pm)
Re: [PATCH] x86: Construct 32 bit boot time page tables in ..., Jeremy Fitzhardinge, (Thu Jan 24, 3:58 pm)
Re: [PATCH] x86: Construct 32 bit boot time page tables in ..., Jeremy Fitzhardinge, (Thu Jan 24, 4:40 pm)
Re: [PATCH] x86: Construct 32 bit boot time page tables in ..., Jeremy Fitzhardinge, (Thu Jan 24, 4:51 pm)
Re: [PATCH] x86: Construct 32 bit boot time page tables in ..., Jeremy Fitzhardinge, (Thu Jan 24, 5:11 pm)
Re: [PATCH] x86: Construct 32 bit boot time page tables in ..., Jeremy Fitzhardinge, (Thu Jan 24, 5:31 pm)
Re: [PATCH] x86: Construct 32 bit boot time page tables in ..., Rafael J. Wysocki, (Thu Jan 24, 5:46 pm)
Re: [PATCH] x86: Construct 32 bit boot time page tables in ..., Eric W. Biederman, (Thu Jan 24, 7:16 pm)
Re: [PATCH] x86: Construct 32 bit boot time page tables in ..., Eric W. Biederman, (Thu Jan 24, 7:56 pm)
Re: [PATCH] x86: Construct 32 bit boot time page tables in ..., Jeremy Fitzhardinge, (Thu Jan 24, 9:41 pm)
Re: [PATCH] x86: Construct 32 bit boot time page tables in ..., Eric W. Biederman, (Fri Jan 25, 4:07 am)
Re: [PATCH] x86: Construct 32 bit boot time page tables in ..., Rafael J. Wysocki, (Fri Jan 25, 3:02 pm)
Re: [PATCH] x86: Construct 32 bit boot time page tables in ..., Rafael J. Wysocki, (Mon Jan 28, 8:25 am)
Re: [PATCH] x86: Construct 32 bit boot time page tables in ..., Rafael J. Wysocki, (Mon Jan 28, 10:02 am)
Re: [PATCH] x86: Construct 32 bit boot time page tables in ..., Jeremy Fitzhardinge, (Mon Jan 28, 1:03 pm)
Re: [PATCH] x86: Construct 32 bit boot time page tables in ..., Rafael J. Wysocki, (Mon Jan 28, 1:26 pm)
Re: [PATCH] x86: Construct 32 bit boot time page tables in ..., Rafael J. Wysocki, (Mon Jan 28, 1:28 pm)
Re: [PATCH] x86: Construct 32 bit boot time page tables in ..., Jeremy Fitzhardinge, (Mon Jan 28, 1:44 pm)
Re: [PATCH] x86: Construct 32 bit boot time page tables in ..., Rafael J. Wysocki, (Mon Jan 28, 1:50 pm)
Re: [PATCH] x86: Construct 32 bit boot time page tables in ..., Rafael J. Wysocki, (Mon Jan 28, 1:59 pm)
Re: [PATCH] x86: Construct 32 bit boot time page tables in ..., Rafael J. Wysocki, (Mon Jan 28, 3:02 pm)