Re: [PATCH] mm: move folio LRU helpers out of swap
From: David Hildenbrand (Arm)
Date: Tue Apr 07 2026 - 07:43:00 EST
On 4/7/26 13:00, Jianyue Wu wrote:
> All allocated folios are added into lru lists for later reclaim whether
> they are file or anonymous folios. However those folio lru operation codes
> are put in mm/swap.c which is not so appropriate. Because swap code is
> only for anonymous folios.
A note that shmem also uses swap.
--
Cheers,
David