projects
/
linux-block.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
216e04b
)
riscv: Enable DAX VMEMMAP optimization
author
Björn Töpel
<bjorn@rivosinc.com>
Wed, 5 Jun 2024 11:40:54 +0000
(13:40 +0200)
committer
Palmer Dabbelt
<palmer@rivosinc.com>
Wed, 26 Jun 2024 15:42:47 +0000
(08:42 -0700)
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>
arch/riscv/Kconfig
patch
|
blob
|
blame
|
history
diff --git
a/arch/riscv/Kconfig
b/arch/riscv/Kconfig
index c7e7e568dd013fcb5c370ff7d9de16e764120e9b..e6d589c47acc57cd94af8826a82390ee67639c3a 100644
(file)
--- a/
arch/riscv/Kconfig
+++ b/
arch/riscv/Kconfig
@@
-73,6
+73,7
@@
config RISCV
select ARCH_WANT_GENERAL_HUGETLB if !RISCV_ISA_SVNAPOT
select ARCH_WANT_HUGE_PMD_SHARE if 64BIT
select ARCH_WANT_LD_ORPHAN_WARN if !XIP_KERNEL
+ select ARCH_WANT_OPTIMIZE_DAX_VMEMMAP
select ARCH_WANT_OPTIMIZE_HUGETLB_VMEMMAP
select ARCH_WANTS_NO_INSTR
select ARCH_WANTS_THP_SWAP if HAVE_ARCH_TRANSPARENT_HUGEPAGE