v1
2026-10-27
修复 thpmaps 统计与名称 · v1
修复 tools/mm/thpmaps 的 partial THP anon/file 记账、遗漏 order-1 file THP 统计以及含空白和 (deleted) 的 mapping 名。
原始补丁链接
子 Patch(3)
1/3
tools/mm/thpmaps: fix partial THP anon/file accounting
[tools/mm/thpmaps: fix partial THP anon/file accounting] thp_parse() reduces index_end before looking up the type of the trailing partially mapped THP. The lookup then uses the preceding page, or anon
2/3
tools/mm/thpmaps: fix missing order-1 file THP statistics
[tools/mm/thpmaps: fix missing order-1 file THP statistics] File-backed THPs can have order 1, but the per-size counters are only emitted for order 2 and above. Fully and contiguously mapped order-1 f
3/3
tools/mm/thpmaps: fix missing mapping names
[tools/mm/thpmaps: fix missing mapping names] VMAList splits smaps lines on whitespace and only keeps the mapping name when there are exactly six fields. Names containing whitespace, including paths w