Skip to content

mm/mglru: fix a few reclaim issues

Barry Song (Xiaomi) linux-mm lkml mm-commits stable 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest3 patches 3 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3mm/mglru: count all generations as evictablemm/vmscan.c+6 -31 reply
2/3mm/mglru: test PG_lru before taking a folio referencemm/vmscan.c+9 -01 reply
3/3mm/mglru: report root reclaim to memory.pressure_levelmm/vmscan.c+6 -00 replies

Reviews trailers per patch

2 of 3 patches have a Reviewed-by or Acked-by of their own; the series has one for all of them.

PatchKairui SongBaolin Wang
SeriesA-b
1/3R-b
2/3R-b
3/3

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

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

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(-)
Signature · 1 line
2.39.3 (Apple Git-146)