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

From: H. Peter Anvin
Date: Tue May 24 2011 - 19:08:09 EST


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
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/