Re: [PATCH v3 02/16] mm: introduce leaf entry type and use to simplify leaf entry logic

From: Lorenzo Stoakes

Date: Wed Nov 12 2025 - 10:33:33 EST


Hi Andrew,

Could we replace:

On Mon, Nov 10, 2025 at 10:21:20PM +0000, Lorenzo Stoakes wrote:
> The kernel maintains leaf page table entries which contain either:
>
> - Nothing ('none' entries)
> - Present entries (that is stuff the hardware can navigate without fault)
> - Everything else that will cause a fault which the kernel handles

With:

The kernel maintains leaf page table entries which contain either:

- Nothing ('none' entries)
- Present entries*
- Everything else that will cause a fault which the kernel handles

* Present entries are either entries the hardware can navigate without page
fault or special cases like NUMA hint protnone or PMD with cleared
present bit which contain hardware-valid entries modulo the present bit.


Thanks, Lorenzo