Messages in this thread | | | Date | Wed, 24 Feb 2016 10:56:13 -0800 | Subject | Re: [tip:efi/core] x86/mm/pat: Use _PAGE_GLOBAL bit for EFI page table mappings | From | Linus Torvalds <> |
| |
On Wed, Feb 24, 2016 at 8:36 AM, Andy Lutomirski <luto@amacapital.net> wrote: >> >> So the EFI runtime crap should not change once it is mapped. And those >> should be global. It is only natural. > > Why is it natural? > > Long-term, I'd rather see EFI runtime services use an actual mm_struct > and use_mm.
Definitely.
The EFI runtime page mapping may be unchanging, but that doesn't mean we should be mapping it all the time - the mapping may not change, but we will change away from it.
So marking those pages global is very wrong.
Linus
| |