On 7/13/26 08:02, David Hildenbrand (Arm) wrote:
> It's always been the latter:
> 
>       ...folding => PUD => PMD => PTE

This is kinda arguing semantics, and there are different ways to look at
it. But I'd argue it couldn't *possibly* have always been this way.
Linux hasn't always had a PUD or a PMD for that matter. The i386 only
had two levels. PAE support was added later.

I think the pmd_t came with Alpha support (before my time) and pud_t
came later IIRC. I'm pretty sure Linux didn't have a pud_t when I first
started hacking on it circa 2001.

Second (and again this is my subjective opinion) a pgd_t* has always
been the "top" or "base" of the page tables. This is why there's an
mm->pgd and not an mm->pud. We've also talked *forever* about things
like a "special pgd" for the LDT remap. Or having two pgd pages for KPTI.

My point is that the PGD hasn't itself ever been folded. It's the top
hardware level of the page tables and always has been.

I really do think this series is changing things, not keeping them the same.

Reply via email to