Re: [PATCH v3 07/16] mm: avoid unnecessary use of is_swap_pmd()

Andrew Morton
2025-11-21T19:55:53Z

On Fri, 21 Nov 2025 19:25:46 +0000 Lorenzo Stoakes <lorenzo.stoakes@oracle.com> wrote:

> > > To add to the confusion in this terminology we use is_swap_pmd() in an
> > > inconsistent way similar to how is_swap_pte() was being used - sometimes
> > > adopting the convention that pmd_none(), !pmd_present() implies PMD 'swap'
> >
> > !pmd_none()
> >
> > ?
>
> Yeah sorry this is a typo.
>
> Andrew, if it's easy to fix could you?

a few hours ago ;)

> If too late then never mind :)

"too late" is a thing I try to avoid!