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

From: Jianyue Wu

Date: Tue Aug 04 2026 - 06:33:06 EST


On Tue, Aug 4, 2026 at 5:46 PM Lorenzo Stoakes (ARM) <ljs@xxxxxxxxxx> 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 section?
> 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