Message ID | 20231214073912.1938330-4-sunnanyong@huawei.com (mailing list archive) |
---|---|
State | New |
Headers | show |
Series | A Solution to Re-enable hugetlb vmemmap optimize on Arm | expand |
> On Dec 14, 2023, at 15:39, Nanyong Sun <sunnanyong@huawei.com> wrote: > > 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: Nanyong Sun <sunnanyong@huawei.com> Reviewed-by: Muchun Song <songmuchun@bytedance.com> Thanks.
diff --git a/arch/arm64/Kconfig b/arch/arm64/Kconfig index 7b071a00425d..43e3d5576fb2 100644 --- a/arch/arm64/Kconfig +++ b/arch/arm64/Kconfig @@ -103,6 +103,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 select ARCH_WANT_LD_ORPHAN_WARN select ARCH_WANTS_NO_INSTR select ARCH_WANTS_THP_SWAP if ARM64_4K_PAGES
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: Nanyong Sun <sunnanyong@huawei.com> --- arch/arm64/Kconfig | 1 + 1 file changed, 1 insertion(+)