Re: Linux 6.11-rc1
From: Linus Torvalds
Date: Wed Jul 31 2024 - 17:42:29 EST
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.
Linus