Re: [PATCHv1, RFC 0/8] Boot-time switching between 4- and 5-level paging

From: hpa
Date: Fri May 26 2017 - 15:46:27 EST


On May 26, 2017 12:23:18 PM PDT, Dave Hansen <dave.hansen@xxxxxxxxx> wrote:
>On 05/26/2017 11:24 AM, hpa@xxxxxxxxx wrote:
>> The only case where that even has any utility is for an application
>> to want more than 128 TiB address space on a machine with no more
>> than 64 TiB of RAM. It is kind of a narrow use case, I think.
>
>Doesn't more address space increase the effectiveness of ASLR? I
>thought KASLR, especially, was limited in its effectiveness because of
>a
>lack of address space.

The shortage of address space for KASLR is not addressable by LA57; rather, it would have to be addressed by compiling the kernel using a different (less efficient) memory model, presumably the "medium" memory model.
--
Sent from my Android device with K-9 Mail. Please excuse my brevity.