v3
2026-11-08
修复 KSM 智能扫描漏合并 · v3
KSM smart scan 补丁让跳过的扫描次数与全局扫描号对齐,避免相同页因各自计时而长期漏合并。
原始补丁链接
子 Patch(4)
1/4
mm/ksm: align smart scan skips with the scan number
[Re: [PATCH v3 1/4] mm/ksm: align smart scan skips with the scan number] On 11/7/26 17:57, Qiliang Yuan wrote: > Smart scan skips pages that KSM has failed to de-duplicate for a while. > Once a page i
2/4
docs/mm: ksm: describe how smart scan picks the scans to skip
On 11/7/26 17:57, Qiliang Yuan wrote: > Documentation/mm/ksm.rst covers the stable tree and its reverse mapping, > and Documentation/admin-guide/mm/ksm.rst only says that smart scan skips > pages KSM
3/4
selftests/mm: move waiting for KSM full scans into a helper
[Re: [PATCH v3 3/4] selftests/mm: move waiting for KSM full scans into a helper] On 11/7/26 17:57, Qiliang Yuan wrote: > ksm_start() enables ksmd and then polls full_scans until two more full > scans
4/4
selftests/mm: cover merging KSM pages aged by smart scan
[Re: [PATCH v3 4/4] selftests/mm: cover merging KSM pages aged by smart scan] On 11/7/26 17:57, Qiliang Yuan wrote: > ksm_functional_tests checks merging and unmerging with ksmd’s default > settings,