v1
2026-10-28
移除离线 memcg 回收特判 · v1
确认离线 memcg 的 LRU folio 与计数已重挂父组后,删除 vmscan.c 中 !mem_cgroup_online() 检查及离线组轮转等回收特判。
原始补丁链接
子 Patch(2)
1/2
mm/vmscan: remove redundant !mem_cgroup_online() checks
On Tue, Oct 27, 2026 at 06:06:05PM -0700, T.J. Mercier wrote: > Since commit f1cf8d2f36dc (“mm: memcontrol: eliminate the problem of > dying memory cgroup for LRU folios”) and commit 0e0ac326c511 (“me
2/2
mm/mglru: stop rotating offlined memcgs to the old generation
On Tue, Oct 27, 2026 at 06:06:06PM -0700, T.J. Mercier wrote: > lru_gen_offline_memcg() moves an offlining memcg to the head of the old > generation of the memcg LRU (MEMCG_LRU_OLD), so that global re