linux-mm.kvack.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v2 0/2] mm: hugetlb: fix mremap tlb flush
@ 2023-08-01  2:31 Kefeng Wang
  2023-08-01  2:31 ` [PATCH v2 1/2] mm: hugetlb: use flush_hugetlb_tlb_range() in move_hugetlb_page_tables() Kefeng Wang
  2023-08-01  2:31 ` [PATCH v2 2/2] arm64: hugetlb: enable __HAVE_ARCH_FLUSH_HUGETLB_TLB_RANGE Kefeng Wang
  0 siblings, 2 replies; 12+ messages in thread
From: Kefeng Wang @ 2023-08-01  2:31 UTC (permalink / raw)
  To: Andrew Morton, Catalin Marinas, Will Deacon, Mike Kravetz,
	Muchun Song, Mina Almasry, kirill, joel, william.kucharski,
	kaleshsingh, linux-mm
  Cc: linux-arm-kernel, linux-kernel, 21cnbao, Kefeng Wang

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(-)

-- 
2.41.0



^ permalink raw reply	[flat|nested] 12+ messages in thread

end of thread, other threads:[~2023-08-02 10:41 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-08-01  2:31 [PATCH v2 0/2] mm: hugetlb: fix mremap tlb flush Kefeng Wang
2023-08-01  2:31 ` [PATCH v2 1/2] mm: hugetlb: use flush_hugetlb_tlb_range() in move_hugetlb_page_tables() Kefeng Wang
2023-08-01  2:31 ` [PATCH v2 2/2] arm64: hugetlb: enable __HAVE_ARCH_FLUSH_HUGETLB_TLB_RANGE Kefeng Wang
2023-08-01  2:31   ` Muchun Song
2023-08-01 11:09   ` Catalin Marinas
2023-08-01 11:22     ` Kefeng Wang
2023-08-01 13:36       ` Kefeng Wang
2023-08-01 13:56   ` [PATCH v3] " Kefeng Wang
2023-08-01 15:28     ` Catalin Marinas
2023-08-02  1:27     ` [PATCH v4] " Kefeng Wang
2023-08-02  1:40       ` Muchun Song
2023-08-02 10:41       ` Catalin Marinas

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).