mirror of
				git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
				synced 2025-10-31 08:44:41 +00:00 
			
		
		
		
	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 <chenwandun@huawei.com> Signed-off-by: Palmer Dabbelt <palmerdabbelt@google.com>
This commit is contained in:
		
							parent
							
								
									a290f510a1
								
							
						
					
					
						commit
						c24a196742
					
				
					 1 changed files with 1 additions and 0 deletions
				
			
		|  | @ -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 | ||||
|  |  | |||
		Loading…
	
	Add table
		
		Reference in a new issue
	
	 Chen Wandun
						Chen Wandun