Re: [PATCH v9 2/3] mm: rename swap.c to folio.c

Jianyue Wu <[email protected]> Tue, 4 Aug 2026 18:16:57 +0800
Newsgroups gmane.linux.documentation,gmane.linux.kernel.mm,gmane.linux.kernel
Message-ID <CAJxJ_jgdXA=B38huxC5hoevRFhqsVFWT9+Bt5R4zjJ3b6Ya58g@mail.gmail.com>
On Tue, Aug 4, 2026 at 5:46=E2=80=AFPM Lorenzo Stoakes (ARM) <[email protected]=
g> wrote:
>
> > diff --git a/MAINTAINERS b/MAINTAINERS
> > index d19822d574fd..c3e535ca4bef 100644
> > --- a/MAINTAINERS
> > +++ b/MAINTAINERS
> > @@ -17085,7 +17085,7 @@ F:    Documentation/admin-guide/mm/multigen_lru=
.rst
> >  F:   Documentation/mm/multigen_lru.rst
> >  F:   include/linux/mm_inline.h
> >  F:   include/linux/mmzone.h
> > -F:   mm/swap.c
> > +F:   mm/folio.c
>
> Hmm noticed today that mm/folio.c is in the MGLRU section :)
>
> This doesn't seem correct - shouldn't this be moved to the core mm sectio=
n?
> If this is already in mm-stable can send a follow up patch for that?
Ah, sorry for that, exactly, should be in the CORE section.
After mm/folio-compat.c

F:  mm/debug.c
F:  mm/folio-compat.c
+F: mm/folio.c
F:  mm/highmem.c

Not in apkm/mm-stable yet, which one is better?
1) send a small follow-up MAINTAINERS fix, or
2) send a rename commit, and could fold it into the commit.

Best regards,
Jianyue