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

!MAILaRCHIVE_VOTE_RePLACE
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: Ian Campbell <ijc@...>
Cc: Jeremy Fitzhardinge <jeremy@...>, Ingo Molnar <mingo@...>, Mika Penttilä <mika.penttila@...>, <linux-kernel@...>, Thomas Gleixner <tglx@...>, Ingo Molnar <mingo@...>, Eric W. Biederman <ebiederm@...>
Date: Thursday, January 24, 2008 - 6:06 pm

Ian Campbell wrote:

This is part of the trickiness with re-using the early pagetables 
instead of rebuilding them from scratch - if PSE is available, we have 
two options:

- either we build PSE page tables early (which means detecting PSE, 
which means if there are any chip-specific CPUID workarounds they have 
to be present in the early code), or

- when building the "complete" page tables, coalesce !PSE pagetables 
into PSE entries where appropriate.

For PAT to work right, the first chunk probably should *not* be a PSE 
page table, which complicates things further.  (There is no TLB impact, 
since a PSE page table at offset zero or that otherwise have an MTRR 
conflict will be broken apart in hardware.)  In the former case, it 
means splitting it apart later; in the latter case it just means 
excluding it from coalescing.

In other words, reusing the early page tables isn't all that 
straightforward.  It may easily be that it's better to build a new set 
of page tables from scratch, however, it would *still* be beneficial to 
have the early page tables be in the same format as the later one, since 
it lets us use the fixmap area, and therefore {bt,early}_ioremap() much 
sooner.

	-hpa

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

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