v3
2026-07-22
DAMON 自动调优折叠热区域为大页 · v3
DAMON引入DAMOS_QUOTA_HUGEPAGE自动调优,将热区域折叠为大页,已合入damon/next。
原始补丁链接
子 Patch(3)
1/3
mm/damon: Introduce DAMOS_QUOTA_HUGEPAGE auto tuning
在 DAMON 中引入 DAMOS_QUOTA_HUGEPAGE_MEM_BP 自动调优指标,测量大页消耗与总内存比率,添加除零保护返回 INT_MAX。
2/3
mm/damon/sysfs: support hugepage_mem_bp quota goal metric
通过 sysfs 暴露 DAMOS_QUOTA_HUGEPAGE_MEM_BP 指标,添加 “hugepage_mem_bp” 到 sysfs-schemes 接口。
3/3
Docs/mm/damon/design: Document hugepage_mem_bp target metric
在 DAMON 设计文档中记录 hugepage_mem_bp 指标及其 sysfs 暴露方式。