v1
2026-08-27
修复 DAMOS PSI 目标与刷新周期 · v1
修复 DAMOS PSI 目标 last_psi_total 未初始化及 sysfs refresh_ms 未按上下文设置导致意外行为的问题。
原始补丁链接
子 Patch(2)
1/2
mm/damon/core: initialize damos_quota_goal->last_psi_total
When DAMOS_QUOTA_SOME_MEM_PSI_US metric damos quota goal is set, the PSI delta for the feedback loop is calculated using damos_quota_goal->last_psi_total. However, it is initialized only after the fi
2/2
mm/damon/sysfs: set next refresh jiffies per sysfs context
When ‘refresh_ms’ is set, DAMON sysfs interface periodically updates auto-tuned parameters and DAMOS stats. The timestamp for the next refresh is initialized when a DAMON context starts, and updated