From: Liu Shixin Date: Wed, 12 Oct 2022 12:00:38 +0000 (+0800) Subject: riscv: Enable HAVE_ARCH_HUGE_VMALLOC for 64BIT X-Git-Tag: v6.6.17~5917^2~26 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=be79afc740b5a1b2048cd67580cdb9d76d7e6cc2;p=platform%2Fkernel%2Flinux-rpi.git riscv: Enable HAVE_ARCH_HUGE_VMALLOC for 64BIT After we support HAVE_ARCH_HUGE_VMAP, we can now enable HAVE_ARCH_HUGE_VMALLOC too. This feature has been used in kvmalloc and alloc_large_system_hash for now. This feature can be disabled by kernel parameters "nohugevmalloc". Signed-off-by: Liu Shixin Reviewed-by: Björn Töpel Tested-by: Björn Töpel Link: https://lore.kernel.org/r/20221012120038.1034354-3-liushixin2@huawei.com [Palmer: minor formatting] Signed-off-by: Palmer Dabbelt --- diff --git a/arch/riscv/Kconfig b/arch/riscv/Kconfig index db2082d..7cd981f 100644 --- a/arch/riscv/Kconfig +++ b/arch/riscv/Kconfig @@ -72,6 +72,7 @@ config RISCV select GENERIC_VDSO_TIME_NS if HAVE_GENERIC_VDSO select HARDIRQS_SW_RESEND select HAVE_ARCH_AUDITSYSCALL + select HAVE_ARCH_HUGE_VMALLOC if HAVE_ARCH_HUGE_VMAP select HAVE_ARCH_HUGE_VMAP if MMU && 64BIT && !XIP_KERNEL select HAVE_ARCH_JUMP_LABEL if !XIP_KERNEL select HAVE_ARCH_JUMP_LABEL_RELATIVE if !XIP_KERNEL