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

Message ID 20230731074829.79309-1-wangkefeng.wang@huawei.com
Headers
Series mm: mremap: fix move page tables |

Message

Kefeng Wang July 31, 2023, 7:48 a.m. UTC
  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(-)