2020-03-04 19:23:22

by H. Peter Anvin

[permalink] [raw]
Subject: Re: [PATCH v11 00/11] x86: PIE support to extend KASLR randomization

On 2020-03-04 11:19, Thomas Garnier wrote:
>>
>> The huge memory model, required for arbitrary placement, has a very
>> significant performance impact.
>
> I assume you mean mcmodel=large, it doesn't use it. It uses -fPIE and
> removes -mcmodel=kernel. It favors relative references whenever
> possible.
>

I know... this was in reference to a comment of Kees'.

-hpa