Re: [RFC][PATCH] Randomize kernel base address on boot

H. Peter Anvin
2011-05-24T23:08:05Z

On 05/24/2011 04:04 PM, Dan Rosenberg wrote:
>
>> 2. Not introduce a performance regression (we avoid locating in the
>> bottom 16 MiB for performance reasons, except on very small systems);
>
> I altered the boot code so that it uses CONFIG_PHYSICAL_START, which
> defaults to 16 MiB, as a lower bound on location. So nothing will ever
> get loaded below there, and I still can take advantage of higher
> alignment granularity. Are there other problems I'm not anticipating?
>

Please look at the discussion as to what led us to do things this way.

-hpa