]> Git Repo - J-linux.git/commitdiff
riscv: add support for hugepage migration
authorChen Wandun <[email protected]>
Tue, 10 Aug 2021 13:51:05 +0000 (21:51 +0800)
committerPalmer Dabbelt <[email protected]>
Fri, 27 Aug 2021 05:01:22 +0000 (22:01 -0700)
Generic arch_hugetlb_migration_supported can provide appropriate
support for hugepage migration when enable ARCH_ENABLE_HUGEPAGE_MIGRATION,
so enable it for hugepage migration in riscv.

Signed-off-by: Chen Wandun <[email protected]>
Signed-off-by: Palmer Dabbelt <[email protected]>
arch/riscv/Kconfig

index e26e255dce3c12be72ddc8b6d15e16d6427d5a77..78644e29f1fd3f250b4ee408187965c17ebb8f21 100644 (file)
@@ -13,6 +13,7 @@ config 32BIT
 config RISCV
        def_bool y
        select ARCH_CLOCKSOURCE_INIT
+       select ARCH_ENABLE_HUGEPAGE_MIGRATION if HUGETLB_PAGE && MIGRATION
        select ARCH_HAS_BINFMT_FLAT
        select ARCH_HAS_DEBUG_VM_PGTABLE
        select ARCH_HAS_DEBUG_VIRTUAL if MMU
This page took 0.053243 seconds and 4 git commands to generate.