[PATCH 0/2] mm/mglru: fix ineffective memory protection for non-kswapd reclaim
From: Ridong Chen
Date: Fri Aug 28 2026 - 05:30:49 EST
From: Ridong Chen <chenridong@xxxxxxxxxx>
This series fixes memory.min/low being silently bypassed for MGLRU
during non-kswapd global reclaim (global direct reclaim and root-level
memory.reclaim).
Patch 2 is the actual fix. Patch 1 is a prerequisite: an integer overflow
in effective_protection(), spotted by the sashiko review tool, which
patch 2's new caller would also be exposed to.
Ridong Chen (2):
mm/page_counter: avoid integer overflow in effective_protection()
mm/mglru: fix ineffective memory protection for non-kswapd reclaim
include/linux/memcontrol.h | 11 +++++++++++
mm/memcontrol.c | 45 +++++++++++++++++++++++++++++++++++++++++++++
mm/page_counter.c | 10 ++++++----
mm/vmscan.c | 8 +++++++-
4 files changed, 69 insertions(+), 5 deletions(-)
--
2.43.0