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 <[email protected]> Reviewed-by: Alexandre Ghiti <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Palmer Dabbelt <[email protected]>
1 parent 216e04b commit 4705c15

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
@@ -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)