v5
2026-08-03
统一 hugetlb 分配内存策略解析 · v5
将 alloc_hugetlb_folio() 中对 memory policy 的解析合并为公共 helper,消除重复并便于后续泛化 HugeTLB 分配。
原始补丁链接
子 Patch(3)
1/3
mm: hugetlb: Consolidate interpretation of gbl_chg within alloc_hugetlb_folio()
On Mon, Aug 03, 2026 at 06:37:58AM -0700, Ackerley Tng wrote: > The dequeue_hugetlb_folio_vma() function currently handles the gbl_chg > parameter to determine if a folio can be dequeued based on glob
2/3
mm: hugetlb: Move mpol interpretation out of alloc_buddy_hugetlb_folio_with_mpol()
[Re: [PATCH v5 2/3] mm: hugetlb: Move mpol interpretation out of alloc_buddy_hugetlb_folio_with_mpol()] On Mon, Aug 03, 2026 at 06:37:59AM -0700, Ackerley Tng wrote: > Move memory policy interpretatio
3/3
mm: hugetlb: Move mpol interpretation out of dequeue_hugetlb_folio_vma()
[Re: [PATCH v5 3/3] mm: hugetlb: Move mpol interpretation out of dequeue_hugetlb_folio_vma()] On Mon, Aug 03, 2026 at 06:38:00AM -0700, Ackerley Tng wrote: … snip … > @@ -2925,35 +2935,23 @@ struc