[PATCH] arm64/hugetlb: Reserve CMA areas for gigantic pages on 16K and 64K configs

Anshuman Khandual anshuman.khandual at arm.com
Tue Jun 23 08:48:16 EDT 2020


On 06/23/2020 02:54 PM, kernel test robot wrote:
>    423		/*
>    424		 * must be done after arm64_numa_init() which calls numa_init() to
>    425		 * initialize node_online_map that gets used in hugetlb_cma_reserve()
>    426		 * while allocating required CMA size across online nodes.
>    427		 */
>  > 428		arm64_hugetlb_cma_reserve();

Wrapping this call site with CONFIG_HUGETLB_PAGE solves the problem.



More information about the linux-arm-kernel mailing list