[PATCH 0/4] mm: mremap: fix move page tables

Kefeng Wang wangkefeng.wang at huawei.com
Mon Jul 31 00:48:25 PDT 2023


The first three patches use correct flush tlb functions when move page
tables, and patch 4 is a small optimization for hugepage on arm64.

Kefeng Wang (4):
  mm: hugetlb: use flush_hugetlb_tlb_range() in
    move_hugetlb_page_tables()
  mm: mremap: use flush_pmd_tlb_range() in move_normal_pmd()
  mm: mremap: use flush_pud_tlb_range in move_normal_pud()
  arm64: tlb: set huge page size to stride for hugepage

 arch/arm64/include/asm/tlbflush.h | 21 +++++++++++----------
 mm/hugetlb.c                      |  4 ++--
 mm/mremap.c                       |  4 ++--
 3 files changed, 15 insertions(+), 14 deletions(-)

-- 
2.41.0




More information about the linux-arm-kernel mailing list