Re: [PATCH 0/3] mm/mglru: fix a few reclaim issues

From: Kairui Song

Date: Sun Nov 29 2026 - 22:54:25 EST


On Sun, Nov 29, 2026 at 10:38 PM Barry Song (Xiaomi) <baohua@xxxxxxxxxx> wrote:
>
> This series contains three MGLRU fixes originally proposed by Chris
> Mason and passed on to us by David Hildenbrand.
>
> The issues addressed are:
>
> 1. Reparented folios becoming unreclaimable due to generation accounting
> falling outside the parent's [min_seq, max_seq] range.
> 2. A potential deadlock between reclaim and compaction when isolating
> folios.
> 3. Missing vmpressure notifications for global reclaim on cgroup v1.
>
> Kairui and I have reviewed the fixes and made minor adjustments where
> necessary.
>
> The series is based on mm-new.
>
> Chris Mason (3):
> mm/mglru: count all generations as evictable
> mm/mglru: test PG_lru before taking a folio reference
> mm/mglru: report root reclaim to memory.pressure_level
>
> mm/vmscan.c | 24 +++++++++++++++++++++---
> 1 file changed, 21 insertions(+), 3 deletions(-)

Thanks Barry!

These commits are valid bugfixes and in good shape, so:

Acked-by: Kairui Song <kasong@xxxxxxxxxxx>