Re: [PATCH] mm/vmscan: fix delayed flusher wakeup in MGLRU
From: Andrew Morton
Date: Thu Apr 30 2026 - 10:22:43 EST
On Thu, 30 Apr 2026 00:24:41 +0530 Vineet Agarwal <agarwal.vineet2006@xxxxxxxxx> wrote:
> MGLRU currently decides whether to wake flusher threads in
> try_to_shrink_lruvec() using cumulative reclaim counters:
>
> ...
>
> Make MGLRU use the same per-batch flusher wakeup behavior as classic
> reclaim by moving the flusher wakeup into evict_folios(), using
> batch-local isolation results from scan_folios() instead of the
> cumulative counters checked later in try_to_shrink_lruvec().
Thanks. AI review asked a couple of questions:
https://sashiko.dev/#/patchset/20260429185441.486804-1-agarwal.vineet2006@xxxxxxxxx