Re: [PATCH] x86: EFI runtime code mapping enhancement

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Huang, Ying
Date: Thursday, February 14, 2008 - 7:10 pm

On Thu, 2008-02-14 at 13:06 +0100, Andi Kleen wrote:

Because during early boot stage, alloc_page() is not available. If we do
it there, we must make more pages executable to avoid alloc_page(). It
may be acceptable for 2M mapping (aligned memory range with 2M), but I
think it is not acceptable for 1G mapping (aligned memory range with
1G).

Maybe it is the better method that always using the fixmap (efi_ioremap)
to map executable memory area to avoid split large mapping.


This is the original method. The issue is that it must be synced with
set_memory_*() and lookup_address() implementation. For example, it
lacked 1G support when that is added to lookup_address().

Best Regards,
Huang Ying

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

Messages in current thread:
[PATCH] x86: EFI runtime code mapping enhancement, Huang, Ying, (Wed Feb 13, 2:22 am)
Re: [PATCH] x86: EFI runtime code mapping enhancement, Huang, Ying, (Wed Feb 13, 6:46 pm)
Re: [PATCH] x86: EFI runtime code mapping enhancement, Huang, Ying, (Thu Feb 14, 7:10 pm)
Re: [PATCH] x86: EFI runtime code mapping enhancement, Huang, Ying, (Thu Feb 14, 7:25 pm)