On Wed, 13 May 2026 21:04:37 +0800, Muchun Song <[email protected]> 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. > > [...]
Reviewed-by: Mike Rapoport (Microsoft) <[email protected]> -- Sincerely yours, Mike.
