x86-setup-call-hugetlb_bootmem_alloc-early.patch removed from -mm tree
The quilt patch titled
Subject: x86/setup: call hugetlb_bootmem_alloc early
has been removed from the -mm tree. Its filename was
x86-setup-call-hugetlb_bootmem_alloc-early.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: x86/setup: call hugetlb_bootmem_alloc early
Date: Fri, 28 Feb 2025 18:29:21 +0000
Call hugetlb_bootmem_allloc in an earlier spot in setup, after hugelb_cma_reserve. This will make vmemmap preinit of the sections covered by the allocated hugetlb pages possible.
---
arch/x86/kernel/setup.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-)
arch/x86/kernel/setup.c renamed from arch/x86/kernel/setup.c~x86-setup-call-hugetlb_bootmem_alloc-early +3 -1
@@ -1108,8 +1108,10 @@ void __init setup_arch(char **cmdline_p)initmem_init ();dma_contiguous_reserve (max_pfn_mapped <<PAGE_SHIFT ); -if (boot_cpu_has (X86_FEATURE_GBPAGES )) +if (boot_cpu_has (X86_FEATURE_GBPAGES )) {hugetlb_cma_reserve (PUD_SHIFT -PAGE_SHIFT ); +hugetlb_bootmem_alloc (); + }/* * Reserve memory for crash kernel after SRAT is parsed so that it
_
Patches currently in -mm which might be from [email protected] are