Re: [PATCH] Fix left over EFI cache mapping problems

!MAILaRCHIVE_VOTE_RePLACE
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: Huang, Ying <ying.huang@...>
Cc: Andi Kleen <andi@...>, <torvalds@...>, <tglx@...>, <linux-kernel@...>
Date: Friday, February 15, 2008 - 3:08 am

* Huang, Ying <ying.huang@intel.com> wrote:


right now, EFI page size is 4096:

  include/linux/efi.h:#define EFI_PAGE_SHIFT          12

i doubt we'll ever change PAGE_SIZE on x86 - ia64's variable lowlevel 
pagesizes are not particularly useful IMO. I think we'll at most have 
some generic kernel feature that allows a larger PAGE_CACHE_SHIFT - but 
on the lowlevel MMU level we'll always stay at 4K.

and i doubt EFI_PAGE_SHIFT would want to (ever) go away from 12 either. 

So perhaps, at least as far as arch/x86/kernel/efi*.c files go, it would 
be cleaner to just replace EFI_PAGE_SHIFT with PAGE_SHIFT and 
EFI_PAGE_SIZE with PAGE_SIZE?

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

Messages in current thread:
[PATCH] Fix left over EFI cache mapping problems, Andi Kleen, (Thu Feb 14, 9:13 am)
Re: [PATCH] Fix left over EFI cache mapping problems, Ingo Molnar, (Thu Feb 14, 12:12 pm)
Re: [PATCH] Fix left over EFI cache mapping problems, Huang, Ying, (Fri Feb 15, 12:48 am)
Re: [PATCH] Fix left over EFI cache mapping problems, Andi Kleen, (Fri Feb 15, 4:48 am)
Re: [PATCH] Fix left over EFI cache mapping problems, Huang, Ying, (Fri Feb 15, 5:21 am)
Re: [PATCH] Fix left over EFI cache mapping problems, Andi Kleen, (Fri Feb 15, 5:43 am)
Re: [PATCH] Fix left over EFI cache mapping problems, Ingo Molnar, (Fri Feb 15, 3:08 am)
Re: [PATCH] Fix left over EFI cache mapping problems, Huang, Ying, (Sun Feb 17, 9:53 pm)
Re: [PATCH] Fix left over EFI cache mapping problems, Andi Kleen, (Mon Feb 18, 7:26 am)
Re: [PATCH] Fix left over EFI cache mapping problems, Ingo Molnar, (Mon Feb 18, 10:05 am)
Re: [PATCH] Fix left over EFI cache mapping problems, Huang, Ying, (Fri Feb 15, 3:32 am)
Re: [PATCH] Fix left over EFI cache mapping problems, Linus Torvalds, (Fri Feb 15, 1:44 am)
Re: [PATCH] Fix left over EFI cache mapping problems, Ingo Molnar, (Fri Feb 15, 3:30 am)
Re: [PATCH] Fix left over EFI cache mapping problems, Huang, Ying, (Fri Feb 15, 2:24 am)
Re: [PATCH] Fix left over EFI cache mapping problems, Andi Kleen, (Thu Feb 14, 1:16 pm)
Re: [PATCH] Fix left over EFI cache mapping problems, Ingo Molnar, (Thu Feb 14, 2:38 pm)
Re: [PATCH] Fix left over EFI cache mapping problems, Huang, Ying, (Thu Feb 14, 10:52 pm)
Re: [PATCH] Fix left over EFI cache mapping problems, Andi Kleen, (Fri Feb 15, 4:55 am)
Re: [PATCH] Fix left over EFI cache mapping problems, Huang, Ying, (Fri Feb 15, 5:16 am)
Re: [PATCH] Fix left over EFI cache mapping problems, Andi Kleen, (Thu Feb 14, 5:42 pm)
Re: [PATCH] Fix left over EFI cache mapping problems, Arjan van de Ven, (Thu Feb 14, 6:08 pm)
Re: [PATCH] Fix left over EFI cache mapping problems, Andi Kleen, (Thu Feb 14, 7:01 pm)