mm-hugetlb-use-cma_declare_contiguous_multi.patch removed from -mm tree
The quilt patch titled
Subject: mm, hugetlb: use cma_declare_contiguous_multi
has been removed from the -mm tree. Its filename was
mm-hugetlb-use-cma_declare_contiguous_multi.patch
This patch was dropped because it was merged into the mm-stable branch of git://git.kernel.org/pub/scm/linux/kernel/git/akpm/mm
------------------------------------------------------
From: Frank van der Linden <[email protected]>
Subject: mm, hugetlb: use cma_declare_contiguous_multi
Date: Fri, 28 Feb 2025 18:29:05 +0000
hugetlb_cma is fine with using multiple CMA ranges, as long as it can get its gigantic pages allocated from them. So, use cma_declare_contiguous_multi to allow for multiple ranges, increasing the chances of getting what we want on systems with gaps in physical memory.
---
mm/hugetlb.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-)
mm/hugetlb.c renamed from mm/hugetlb.c~mm-hugetlb-use-cma_declare_contiguous_multi +2 -3
@@ -7750,9 +7750,8 @@ void __init hugetlb_cma_reserve(int orde* may be returned to CMA allocator in the case of * huge page demotion. */ - res =cma_declare_contiguous_nid (0 , size,0 , -PAGE_SIZE << order, -HUGETLB_PAGE_ORDER , false, name, + res =cma_declare_contiguous_multi (size,PAGE_SIZE << order, +HUGETLB_PAGE_ORDER , name, &hugetlb_cma[nid], nid);if (res) { pr_warn("hugetlb_cma: reservation failed: err %d, node %d",
_
Patches currently in -mm which might be from [email protected] are