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

From: Jianyue Wu

Date: Wed Jul 01 2026 - 06:31:07 EST


On Wed, Jul 1, 2026 at 2:44 AM Matthew Wilcox <willy@xxxxxxxxxxxxx> wrote:
>
> On Wed, Jul 01, 2026 at 12:27:33AM +0800, Jianyue Wu wrote:
> > @@ -17057,7 +17057,6 @@ F: include/linux/swap.h
> > F: include/linux/swapfile.h
> > F: include/linux/swapops.h
> > F: mm/page_io.c
> > -F: mm/swap.c
> > F: mm/swap.h
> > F: mm/swap_table.h
> > F: mm/swap_state.c
>
> I would argue that folio.c is now not part of the "MEMORY MANAGEMENT -
> SWAP" responsibility. Agree that it's part of the LRU maintainership
> still.
>

Hello Matthew,

Thanks. Agreed. mm/folio.c is LRU-only now, so it stays under MGLRU and
not under SWAP.