v1
2026-09-04
mm: add explicit goals to memcg memory.reclaim · v1
memory.reclaim 增加 goal=evict 等目标,demotion 不计入完成量,让控制器按需区分实际回收与层间老化。
原始补丁链接
子 Patch(2)
1/2
mm: add goal=evict to memory.reclaim
On tiered memory systems, reclaim can demote cold folios from a faster memory tier to a slower memory tier before they are eventually evicted. This is part of the aging pipeline: reclaiming directly f
2/2
mm: add goal=demote to memory.reclaim
memory.reclaim normally runs the reclaim engine with the normal set of reclaim actions. On tiered memory systems this can age cold folios by demoting them first, but the same request can continue into