Re: [PATCH v2 00/26] mm/fbatch: drain lru_add_drain() and _all()
From: Hugh Dickins
Date: Mon Nov 23 2026 - 04:40:33 EST
On Tue, 17 Nov 2026, Alen Karnil wrote:
> On Wed, 09 Sep 2026 02:39:08 -0700, Hugh Dickins <hughd@xxxxxxxxxx> wrote:
> > mm/fbatch: drain lru_add_drain() and _all()
> >
> > [PATCH v2 00/26] mm/fbatch: drain lru_add_drain() and _all()
> >
> > This series was prompted by lru_add_drain_all() appearing in watchdog
> > backtraces: not to blame, but blocked on an unresponsive CPU to run
> > its workqueue. lru_add_drain_all() is a heavyweight operation, which
> > we often hope to avoid by a much lighter lru_add_drain(); but even
> > those local drains can aggravate the lruvec lock contention which
> > per-cpu fbatches are intended to ease.
> >
> > [...]
>
> Tested-by: Alen Karnil <alen.karnil@xxxxxxxxxxxxxxxx>
Thank you, Alen, that's very encouraging and helpful - though I think
it would be too presumptuous of me to add your Tested-by tag to each
of the 26: I'll just add your Reviewed-bys to 01 and 02, thanks.
You may be wondering what became of the series: it's good, and I did
rebase it to 7.4-rc2, folding in JP Kobryn's fine improvement (thank you)
to __page_cache_release(), and Kiryl's !folio_test_unevictable() safety
in lru_add_del_folio().
But found there was already a conflict in folio_batch_move_lru() in
mm/core.git, which would make several of the rc2-based patches not
directly applicable there; then saw David's "MM: Firefighting mode"
mail, which confirmed what was becoming apparent, that it would be
more helpful not to repost the lru_add_drain() series this cycle,
but rather attempt to review the current fixing activity (I've tried,
but just cannot keep up with all that David, Lorenzo and others have
been achieving).
I intend to post again around 7.5-rc1 or -rc2: I'm probably naive
to hope that the fixing frenzy will be less by then, but I'd better
go ahead with a repost then, whatever the situation.
Hugh