Re: [PATCH v4 2/3] mm: rename swap.c to folio_lru.c

From: David Hildenbrand (Arm)

Date: Wed Jun 03 2026 - 09:18:07 EST


On 6/3/26 15:05, Jianyue Wu wrote:
> Rename mm/swap.c to mm/folio_lru.c so the filename better matches
> the code's main responsibility.
>
> This keeps the implementation split from swap-specific code without
> changing the published LRU helper interfaces.
>
> Update MAINTAINERS and the remaining mm/swap.c documentation references
> after the rename.
>
> Suggested-by: Baoquan He <bhe@xxxxxxxxxx>
> Suggested-by: David Hildenbrand <david@xxxxxxxxxx>
> Signed-off-by: Jianyue Wu <wujianyue000@xxxxxxxxx>
> ---

We can later decide to rename it to folio.c But maybe it makes sense to keep
this LRU batching magic in its own file.

Acked-by: David Hildenbrand (Arm) <david@xxxxxxxxxx>

--
Cheers,

David