v2
2026-09-01
MGLRU aging用PUD级Bloom过滤器 · v2
MGLRU aging遍历mm的PUD时,用PUD级Bloom filter跳过不含目标NUMA节点的空子树,减少跨节点无效页表遍历。
原始补丁链接
子 Patch(4)
1/4
mm/mglru: add MM_WALK_EMPTY stats and tracepoint
On Tue, Sep 1, 2026 at 2:38 PM Baoquan He hebaoquan@kylinos.cn wrote: > > Add per-walk counters to measure empty aging walks which traverse > an mm’s page tables but find no folio for the current lr
2/4
mm/mglru: add PUD-level Bloom filter state and generic helpers
MGLRU 将 PMD 级 Bloom filter 数组改名 pmd_filters,新增 PUD 级过滤对;helper 泛化为操作任意 filter 数组,PMD 用封装,暂无行为变化。
3/4
mm/mglru: skip cold PUD subtrees during aging
The aging walks into every PUD and runs the PMD-level Bloom filter on each PMD. Add a coarser PUD-level filter (pud_filters) one level up: - walk_pmd_range() now reports whether it found any young le
4/4
mm/mglru: count PUD subtrees skipped by the PUD-level filter
Add MM_PUD_EMPTY_SKIPPED, incremented in walk_pud_range() whenever a PUD subtree is skipped by the filter. Like other counters accumulated per walk, shown in debugfs lru_gen output (the “S” column of