v1
2026-08-29
修复hugetlb降级surplus计数 · v1
修复 hugetlb demote 路径两问题:保持源 hstate 盈余计数,并限制 demote 不超出当前可用空闲页。
原始补丁链接
子 Patch(2)
1/2
mm/hugetlb: preserve source surplus accounting during demotion
[mm/hugetlb: preserve source surplus accounting during demotion] From: Longlong Xia xialonglong@kylinos.cn demote_pool_huge_page() currently removes every source folio as a persistent folio. A free
2/2
mm/hugetlb: cap demotion at currently available free pages
[mm/hugetlb: cap demotion at currently available free pages] From: Longlong Xia xialonglong@kylinos.cn Demotion must not remove free huge pages that back existing reservations. The sysfs path check