Skip to content

Commit 4705c15

Browse files
bjorn-rivospalmer-dabbelt
authored andcommitted
riscv: Enable DAX VMEMMAP optimization
Now that DAX is usable, enable the DAX VMEMMAP optimization as well. Signed-off-by: Björn Töpel <bjorn@rivosinc.com> Reviewed-by: Alexandre Ghiti <alexghiti@rivosinc.com> Link: https://lore.kernel.org/r/20240605114100.315918-12-bjorn@kernel.org Signed-off-by: Palmer Dabbelt <palmer@rivosinc.com>
1 parent 216e04b commit 4705c15

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

arch/riscv/Kconfig

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -73,6 +73,7 @@ config RISCV
7373
select ARCH_WANT_GENERAL_HUGETLB if !RISCV_ISA_SVNAPOT
7474
select ARCH_WANT_HUGE_PMD_SHARE if 64BIT
7575
select ARCH_WANT_LD_ORPHAN_WARN if !XIP_KERNEL
76+
select ARCH_WANT_OPTIMIZE_DAX_VMEMMAP
7677
select ARCH_WANT_OPTIMIZE_HUGETLB_VMEMMAP
7778
select ARCH_WANTS_NO_INSTR
7879
select ARCH_WANTS_THP_SWAP if HAVE_ARCH_TRANSPARENT_HUGEPAGE

0 commit comments

Comments
 (0)