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

Lorenzo Stoakes
2025-11-24T12:30:34Z

On Fri, Nov 21, 2025 at 11:55:50AM -0800, Andrew Morton wrote:
> 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!

Thanks :)