For the 1:1 map we probably should make all pages executable; other things need it too, but we shouldn't have it mapped in except when needed.
"huang ying" <huang.ying.caritas@gmail.com> wrote:
quoted text >On Mon, Aug 16, 2010 at 11:27 AM, H. Peter Anvin <hpa@zytor.com> wrote:
>> No, it should not be dynamic; rather we should unify all the users who need a 1:1 map and just keep that page table set around.
>
>Agree. One known issue of global 1:1 map is that we need to make at
>least part of page table PAGE_KERNEL_EXEC for EFI runtime code, and
>change_page_attr can not be used before page allocator is available.
>
>Best Regards,
>Huang Ying
--
Sent from my mobile phone. Please pardon any lack of formatting.
--
unsubscribe notice To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
majordomo@vger.kernel.org
More majordomo info at
http://vger.kernel.org/majordomo-info.html
Please read the FAQ at
http://www.tux.org/lkml/
Messages in current thread:
Re: [PATCH][EFI] Run EFI in physical mode , H. Peter Anvin , (Sun Aug 15, 10:08 pm)