v1
2026-09-03
Fix HugeTLB subpool used_hpages tracking · v1
HugeTLB subpool始终跟踪used_hpages,修复reservation误恢复和use-after-free。
原始补丁链接
子 Patch(3)
1/3
mm: hugetlb: Track used_hpages when getting/putting pages from subpool
[mm: hugetlb: Track used_hpages when getting/putting pages from subpool] From: Ackerley Tng ackerleytng@google.com HugeTLB subpools currently only track used_hpages when the user configures a size
2/3
mm: hugetlb: Fix out_put_pages subpool reserve calculation
[mm: hugetlb: Fix out_put_pages subpool reserve calculation] From: Ackerley Tng ackerleytng@google.com When reserving pages for a mapping fails during global accounting, the error path rolls back t
3/3
mm: hugetlb: Fix subpool usage leak on allocation failure
[mm: hugetlb: Fix subpool usage leak on allocation failure] From: Ackerley Tng ackerleytng@google.com When folio allocation fails early (e.g. buddy allocation failure or cgroup charging failure) an