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: Mika <mika.penttila@...>
Cc: <linux-kernel@...>, Thomas Gleixner <tglx@...>, Ingo Molnar <mingo@...>, H. Peter Anvin <hpa@...>, Eric W. Biederman <ebiederm@...>
Date: Monday, January 21, 2008 - 5:23 pm

On Sun, 2008-01-20 at 20:30 +0200, Mika Penttilä wrote:

I think you are right. The patch ensures that all the initial page
tables themselves have mappings but won't map the additional pages
needed for mapping the rest of lowmem.

However, I think it is no longer necessary to map a whole new 4G worth
of page table pages because the code in kernel_physical_mapping_init now
extends the initial mappings rather than replacing them (see changes to
native_pagetable_setup_start). So now we only need to map 4G worth of
page tables including the initial page tables. That means we only need
to map a fixed set of extra pages rather than the sliding limit
currently used in the patch.

I'm not convinced by the additional 16MB for CONFIG_DEBUG_PAGEALLOC --
we map enough pages for page tables for 4G of lowmem -- adding space for
an extra 16M seems pointless.

Ian.
-- 
Ian Campbell

Good-bye.  I am leaving because I am bored.
		-- George Saunders' dying words

--
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..., Ian Campbell, (Mon Jan 21, 5:23 pm)
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..., 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)