[PATCH v3] arm64: mm: hugetlb: Enable HUGETLB_PAGE_FREE_VMEMMAP for arm64

Andrew Morton akpm at linux-foundation.org
Wed Mar 30 19:41:47 PDT 2022


On Wed, 30 Mar 2022 22:54:00 +0800 Muchun Song <songmuchun at bytedance.com> wrote:

> --- a/fs/Kconfig
> +++ b/fs/Kconfig
> @@ -247,7 +247,7 @@ config HUGETLB_PAGE
>  
>  config HUGETLB_PAGE_FREE_VMEMMAP
>  	def_bool HUGETLB_PAGE
> -	depends on X86_64
> +	depends on X86_64 || ARM64

This list is just going to get longer, until someone goes and switches
it to use ARCH_WANT_HUGETLB_PAGE_FREE_VMEMMAP or whatever.  Why not do
that now?

>  	depends on SPARSEMEM_VMEMMAP



More information about the linux-arm-kernel mailing list