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

From: H. Peter Anvin
Date: Sun May 29 2011 - 14:20:48 EST


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.

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