Re: Linux 6.11-rc1

From: Thomas Gleixner
Date: Wed Jul 31 2024 - 17:47:44 EST


On Wed, Jul 31 2024 at 14:41, Linus Torvalds wrote:
> On Wed, 31 Jul 2024 at 14:26, Peter Zijlstra <peterz@xxxxxxxxxxxxx> wrote:
>>
>> x86_64 has everything PMD aligned. It *should* never encounter a PTE.
>
> Ahh. I thought it only aligned the beginning, but yeah, I see that
> ALIGN_ENTRY_TEXT_END is also PMD_SIZE aligned.
>
> That smells of wasted memory, but I guess the TLB advantage is worth it.

It definitely is.

Thanks,

tglx