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

From: Ingo Molnar
Date: Sun May 29 2011 - 15:57:24 EST



* H. Peter Anvin <hpa@xxxxxxxxx> wrote:

> On 05/29/2011 11:44 AM, Ingo Molnar wrote:
> >
> > We could put a 2MB hole between end of text (end of X) and start of
> > readonly data (start of NX), and another 2MB hole between end of
> > readonly and start of data.
> >
>
> It still means you have memory which is X-mapped when it doesn't need to
> be, since there will be RAM in that region.

But it ought to be rather harmless in this particular case, because
the high alias addresses are all randomized!

Thanks,

Ingo
--
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/