Re: [PATCH v2 00/16] mm: remove is_swap_[pte, pmd]() + non-swap entries, introduce leaf entries

From: Lorenzo Stoakes

Date: Mon Nov 24 2025 - 05:09:31 EST


On Fri, Nov 21, 2025 at 07:44:56PM -0400, Jason Gunthorpe wrote:
> On Mon, Nov 10, 2025 at 10:21:18PM +0000, Lorenzo Stoakes wrote:
> > There's an established convention in the kernel that we treat leaf page
> > tables (so far at the PTE, PMD level) as containing 'swap entries' should
> > they be neither empty (i.e. p**_none() evaluating true) nor present
> > (i.e. p**_present() evaluating true).
>
> I browsed through this series and want to give some encourgement that
> this looks nice and is a big step forward! Lots of details to check
> the conversions so I wouldn't give any tags due to lack of time..

Thanks a lot, much appreciated :) and of course thank you very much for your
input which has clearly driven (+ substantially improved) much of what the
series does!

And absolutely understand re: time, always being behind is something I'm
gradually learning to accept... :) gradually...

>
> Jason

Cheers, Lorenzo