v3
2026-07-20
DAMOS_SPLIT大页拆分动作 · v3
新增DAMOS_SPLIT动作,通过split_folio_to_order()将大页拆分为指定阶数的小页,解决PMD映射导致的访问粒度粗化问题。
原始补丁链接
子 Patch(3)
1/3
mm/damon: introduce DAMOS_SPLIT action
[mm/damon: introduce DAMOS_SPLIT action] [patchwork series v3] submitter=Lian Wang patches (3): [RFC,v3,1/3] mm/damon: introduce DAMOS_SPLIT action [RFC,v3,2/3] mm/damon/vaddr: implement DAMOS_SPL
2/3
mm/damon/vaddr: implement DAMOS_SPLIT handler
Implement DAMOS_SPLIT for the vaddr and fvaddr operations sets. For each large folio in the target region whose order exceeds the scheme’s order, split it down using split_folio_to_order() – the sam
3/3
selftests/damon: add functional test for DAMOS_SPLIT
Add damos_split.py, which allocates a MADV_HUGEPAGE-backed region in a child process and runs a DAMON/DAMOS scheme with action ‘split’ and target_order 0 against it, then verifies the huge pages are s