Re: [LSF/MM/BPF TOPIC] 64k (or 16k) base page size on x86

From: Dave Hansen

Date: Thu Feb 19 2026 - 17:21:31 EST


On 2/19/26 14:14, Kiryl Shutsemau wrote:
>> Others mentioned this, but I think this essentially gates what you are
>> doing behind a full tree conversion over to ptdescs.
> I have not followed ptdescs closely. Need to catch up.
>
> For PoC, I will just waste full order-0 page for page table. Packing is
> not required for correctness.

Yeah, I guess padding it out is ugly but effective.

I was trying to figure out how it would apply to the KPTI pgd because we
just flip bit 12 to switch between user and kernel PGDs. But I guess the
8k of PGDs in the current allocation will fit fine in 128k, so it's
weird but functional.