Skip to content

Commit c24a196

Browse files
Chen Wandunpalmer-dabbelt
authored andcommitted
riscv: add support for hugepage migration
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]>
1 parent a290f51 commit c24a196

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

arch/riscv/Kconfig

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ config 32BIT
1313
config RISCV
1414
def_bool y
1515
select ARCH_CLOCKSOURCE_INIT
16+
select ARCH_ENABLE_HUGEPAGE_MIGRATION if HUGETLB_PAGE && MIGRATION
1617
select ARCH_HAS_BINFMT_FLAT
1718
select ARCH_HAS_DEBUG_VM_PGTABLE
1819
select ARCH_HAS_DEBUG_VIRTUAL if MMU

0 commit comments

Comments
 (0)