OSDN Git Service

riscv: Enable HAVE_ARCH_HUGE_VMALLOC for 64BIT
authorLiu Shixin <liushixin2@huawei.com>
Wed, 12 Oct 2022 12:00:38 +0000 (20:00 +0800)
committerPalmer Dabbelt <palmer@rivosinc.com>
Sat, 29 Oct 2022 00:10:14 +0000 (17:10 -0700)
commitbe79afc740b5a1b2048cd67580cdb9d76d7e6cc2
treeb28a4b02deba17643c076d63ff2c2ad880b936da
parent310f541a027b1d5dc68f44f176cde618e6ee9691
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 <liushixin2@huawei.com>
Reviewed-by: Björn Töpel <bjorn@kernel.org>
Tested-by: Björn Töpel <bjorn@kernel.org>
Link: https://lore.kernel.org/r/20221012120038.1034354-3-liushixin2@huawei.com
[Palmer: minor formatting]
Signed-off-by: Palmer Dabbelt <palmer@rivosinc.com>
arch/riscv/Kconfig