Commit cd162d35 authored by Nanyong Sun's avatar Nanyong Sun
Browse files

arm64: mm: Re-enable OPTIMIZE_HUGETLB_VMEMMAP

hulk inclusion
category: feature
bugzilla: https://gitee.com/openeuler/kernel/issues/I9JCV4



---------------------------

Now update of vmemmap page table can follow the rule of
break-before-make safely for arm64 architecture, re-enable
HVO on arm64.

Signed-off-by: default avatarNanyong Sun <sunnanyong@huawei.com>
Reviewed-by: default avatarMuchun Song <songmuchun@bytedance.com>
parent 9f779dc0
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -104,6 +104,7 @@ config ARM64
	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_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