mbox series

[v2,0/2] mm: hugetlb: fix mremap tlb flush

Message ID 20230801023145.17026-1-wangkefeng.wang@huawei.com (mailing list archive)
Headers show
Series mm: hugetlb: fix mremap tlb flush | expand

Message

Kefeng Wang Aug. 1, 2023, 2:31 a.m. UTC
The first patch uses correct flush tlb functions when move page tables,
and second patch is a small tlb flush optimization for hugepage on arm64.

v2:
- drop uncorrected move_normal_pmd/pud() changes
- add flush_hugetlb_tlb_range() on arm64 instead of changing generic
  flush_tlb_range()
- collect RB/ACK

Kefeng Wang (2):
  mm: hugetlb: use flush_hugetlb_tlb_range() in
    move_hugetlb_page_tables()
  arm64: hugetlb: enable __HAVE_ARCH_FLUSH_HUGETLB_TLB_RANGE

 arch/arm64/include/asm/hugetlb.h | 12 ++++++++++++
 mm/hugetlb.c                     |  4 ++--
 2 files changed, 14 insertions(+), 2 deletions(-)