Re: [PATCH v3 2/3] mm: move folio LRU code out of swap
From: Matthew Wilcox
Date: Wed Jun 03 2026 - 11:48:44 EST
On Wed, Jun 03, 2026 at 08:29:44PM +0800, Jianyue Wu wrote:
> I'm posting v4 shortly. It keeps the rename to mm/folio_lru.c so this
> series stays a small cleanup on top of the swap_ops work. A broader
> mm/folio.c (together with Tal's folio_wait split and the util.c
> helpers Matthew mentioned) will be a separate follow-up
> once there is maintainer consensus on the file boundaries.
What's the hurry to post a v3? It's not going in this merge window.
I don't mean that you should also pull in Tal's patch series, merely
that your series renames swap.c to folio.c (and we give serious thought
to whether we create a folio.h, or leave folio functions spread over
mm.h and swap.h)
Then Tal comes along afterwards and moves the folio locking functions
into your folio.c.