From: hotforest <hotforest@gmail.com> hulk inclusion category: feature bugzilla: https://atomgit.com/openeuler/kernel/issues/10302 -------------------------------- Select ARCH_WANT_OPTIMIZE_P2PDMA_VMEMMAP for ARM64_4K_PAGES. The generic 4 KiB-page configuration supports PMD and PUD compound-page vmemmap deduplication for aligned P2PDMA resources without enabling a DAX-specific architecture capability. Signed-off-by: hotforest <hotforest@gmail.com> Signed-off-by: Zizhi Wo <wozizhi@huawei.com> --- arch/arm64/Kconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm64/Kconfig b/arch/arm64/Kconfig index c4a87da2a709..5df3aaa9ff14 100644 --- a/arch/arm64/Kconfig +++ b/arch/arm64/Kconfig @@ -114,10 +114,11 @@ config ARM64 select ARCH_WANT_COMPAT_IPC_PARSE_VERSION if COMPAT select ARCH_WANT_DEFAULT_BPF_JIT select ARCH_WANT_DEFAULT_TOPDOWN_MMAP_LAYOUT select ARCH_WANT_FRAME_POINTERS select ARCH_WANT_HUGE_PMD_SHARE if ARM64_4K_PAGES || (ARM64_16K_PAGES && !ARM64_VA_BITS_36) + select ARCH_WANT_OPTIMIZE_P2PDMA_VMEMMAP if ARM64_4K_PAGES select ARCH_WANT_OPTIMIZE_HUGETLB_VMEMMAP if !PREEMPT_RT select ARCH_WANT_LD_ORPHAN_WARN select ARCH_WANTS_NO_INSTR select ARCH_WANTS_THP_SWAP if ARM64_4K_PAGES select ARCH_HAS_UBSAN_SANITIZE_ALL -- 2.52.0