Re: [PATCH v3 1/3] x86/64: Make kernel text mapping always take one whole page table in early boot code

From: Borislav Petkov
Date: Thu Jan 05 2017 - 09:14:02 EST


On Thu, Jan 05, 2017 at 11:28:00AM +0800, Baoquan He wrote:
> Possibly people worry more that no enough space left for kernel modules
> mapping whthin 1G, just a guess. I am fine with making text mapping size
> 1G by default. Kees must know more about the 1G only if kaslr enabled.

So I'm thinking practically kaslr will be enabled on the majority
of the systems anyway so we will have 1G text mapping size on most.
The question is, are there any downsides/issues with making that the
default.

hpa, do you see any problems with it?

Thanks.

--
Regards/Gruss,
Boris.

SUSE Linux GmbH, GF: Felix ImendÃrffer, Jane Smithard, Graham Norton, HRB 21284 (AG NÃrnberg)
--