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

H. Peter Anvin
2011-05-29T01:15:07Z

On 05/28/2011 05:18 AM, Ingo Molnar wrote:
>
> Having half a megabyte of '__init buffer' at the beginning or end of
> the kernel image is no big deal, it's more than enough for good
> randomization and makes the whole thing image-loader invariant: we
> can freely shift the 'real' kernel image within this larger boundary
> without consulting RAM maps.
>

Sure, but you're also blowing any attempt at PMD alignment to kingdom come.

-hpa

--
H. Peter Anvin, Intel Open Source Technology Center
I work for Intel. I don't speak on their behalf.