The patch titled Subject: arm64: mm: re-enable OPTIMIZE_HUGETLB_VMEMMAP has been added to the -mm mm-unstable branch. Its filename is arm64-mm-re-enable-optimize_hugetlb_vmemmap.patch This patch will shortly appear at https://git.kernel.org/pub/scm/linux/kernel/git/akpm/25-new.git/tree/patches/arm64-mm-re-enable-optimize_hugetlb_vmemmap.patch This patch will later appear in the mm-unstable branch at git://git.kernel.org/pub/scm/linux/kernel/git/akpm/mm Before you just go and hit "reply", please: a) Consider who else should be cc'ed b) Prefer to cc a suitable mailing list as well c) Ideally: find the original patch on the mailing list and do a reply-to-all to that, adding suitable additional cc's *** Remember to use Documentation/process/submit-checklist.rst when testing your code *** The -mm tree is included into linux-next via the mm-everything branch at git://git.kernel.org/pub/scm/linux/kernel/git/akpm/mm and is updated there every 2-3 working days ------------------------------------------------------ From: Nanyong Sun <sunnanyong@xxxxxxxxxx> Subject: arm64: mm: re-enable OPTIMIZE_HUGETLB_VMEMMAP Date: Sat, 13 Jan 2024 17:44:36 +0800 Now update of vmemmap page table can follow the rule of break-before-make safely for arm64 architecture, re-enable HVO on arm64. Link: https://lkml.kernel.org/r/20240113094436.2506396-4-sunnanyong@xxxxxxxxxx Signed-off-by: Nanyong Sun <sunnanyong@xxxxxxxxxx> Reviewed-by: Muchun Song <songmuchun@xxxxxxxxxxxxx> Cc: Anshuman Khandual <anshuman.khandual@xxxxxxx> Cc: Catalin Marinas <catalin.marinas@xxxxxxx> Cc: Kefeng Wang <wangkefeng.wang@xxxxxxxxxx> Cc: Matthew Wilcox (Oracle) <willy@xxxxxxxxxxxxx> Cc: Mike Kravetz <mike.kravetz@xxxxxxxxxx> Cc: Will Deacon <will@xxxxxxxxxx> Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx> --- arch/arm64/Kconfig | 1 + 1 file changed, 1 insertion(+) --- a/arch/arm64/Kconfig~arm64-mm-re-enable-optimize_hugetlb_vmemmap +++ a/arch/arm64/Kconfig @@ -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 select ARCH_WANT_LD_ORPHAN_WARN select ARCH_WANTS_NO_INSTR select ARCH_WANTS_THP_SWAP if ARM64_4K_PAGES _ Patches currently in -mm which might be from sunnanyong@xxxxxxxxxx are mm-hvo-introduce-helper-function-to-update-and-flush-pgtable.patch arm64-mm-hvo-support-bbm-of-vmemmap-pgtable-safely.patch arm64-mm-re-enable-optimize_hugetlb_vmemmap.patch