v1
2026-09-04
mm: restore SHRINKER_NONSLAB on THP and zswap shrinkers · v1
为 deferred split 与 zswap shrinker 恢复/添加 SHRINKER_NONSLAB,避免 nokmem 下失去 memcg 感知回收。
原始补丁链接
子 Patch(2)
1/2
mm: thp: restore SHRINKER_NONSLAB on the deferred split shrinker
[mm: thp: restore SHRINKER_NONSLAB on the deferred split shrinker] On a system booted with cgroup.memory=nokmem, the deferred split shrinker is quietly demoted to a non-memcg-aware one. As a result,
2/2
mm: zswap: mark the zswap shrinker SHRINKER_NONSLAB
[mm: zswap: mark the zswap shrinker SHRINKER_NONSLAB] With kmem accounting disabled (cgroup.memory=nokmem), memcg reclaim never invokes the zswap shrinker: a cgroup under memory pressure does not writ