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

H. Peter Anvin
2011-05-29T18:20:44Z

On 05/29/2011 05:47 AM, Ingo Molnar wrote:
>
> Do you mean we'd not start at a 2MB boundary and thus would waste on
> average an about 0.125 worth of huge-TLB cache entry?
>
> That does not look like a very big issue to me - but maybe i'm
> missing something and you mean something else.
>

The problem is that because of the misalignment, and whatever falls on
the other side of that memory boundary we might end up having to
fracture the 2 MB page into 4K pages.

-hpa

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