On Wed, May 13, 2026 at 09:04:37PM +0800, Muchun Song wrote: > hugetlb_cma_reserve() and hugetlb_bootmem_alloc() currently run before > free_area_init(), so HugeTLB reservation happens before zone state is > initialized. > > Move the reservation step after free_area_init() so the relevant zone > information is available before HugeTLB reserves memory. This is needed > for later hugetlb changes that validate boot-time HugeTLB reservations > against zone boundaries. > > Signed-off-by: Muchun Song <[email protected]>
Reviewed-by: Oscar Salvador (SUSE) <[email protected]> -- Oscar Salvador SUSE Labs
