linux-mm.kvack.org archive mirror
 help / color / mirror / Atom feed
* [PATCH -v4 0/2] arm, tlbflush: avoid TLBI broadcast if page reused in write fault
@ 2025-11-04  9:55 Huang Ying
  2025-11-04  9:55 ` [PATCH -v4 1/2] mm: add spurious fault fixing support for huge pmd Huang Ying
                   ` (2 more replies)
  0 siblings, 3 replies; 7+ messages in thread
From: Huang Ying @ 2025-11-04  9:55 UTC (permalink / raw)
  To: Catalin Marinas, Will Deacon, Andrew Morton, David Hildenbrand
  Cc: Huang Ying, Lorenzo Stoakes, Vlastimil Babka, Zi Yan,
	Baolin Wang, Ryan Roberts, Yang Shi, Christoph Lameter (Ampere),
	Dev Jain, Barry Song, Anshuman Khandual, Kefeng Wang,
	Kevin Brodsky, Yin Fengwei, linux-arm-kernel, linux-kernel,
	linux-mm

This series is to optimize the system performance via avoiding TLBI
broadcast if page is reused in the write protect fault handler.  More
details of the background and the test results can be found in [2/2].

Changelog:

v4:

- Collected Reviewed-by and Acked-by, Thanks Lorenzo, David, Ryan, and
  Barry.

v3:

- Various code cleanup and improved design and document in [1/2],
  Thanks Lorenzo and David's comments!
- Fixed a typo and improved function interface in [2/2], Thanks Ryan's
  comments!

v2:

- Various code cleanup in [1/2], Thanks David's comments!
- Remove unnecessary __local_flush_tlb_page_nosync() in [2/2], Thanks Ryan's comments!
- Add missing contpte processing, Thanks Rayn and Catalin's comments!

Huang Ying (2):
  mm: add spurious fault fixing support for huge pmd
  arm64, tlbflush: don't TLBI broadcast if page reused in write fault

 arch/arm64/include/asm/pgtable.h  | 14 ++++---
 arch/arm64/include/asm/tlbflush.h | 56 ++++++++++++++++++++++++++++
 arch/arm64/mm/contpte.c           |  3 +-
 arch/arm64/mm/fault.c             |  2 +-
 include/linux/huge_mm.h           |  2 +-
 include/linux/pgtable.h           |  4 ++
 mm/huge_memory.c                  | 33 ++++++++++------
 mm/internal.h                     |  2 +-
 mm/memory.c                       | 62 +++++++++++++++++++++++--------
 9 files changed, 140 insertions(+), 38 deletions(-)

Best Regards,
Huang, Ying


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

end of thread, other threads:[~2025-11-08  7:20 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2025-11-04  9:55 [PATCH -v4 0/2] arm, tlbflush: avoid TLBI broadcast if page reused in write fault Huang Ying
2025-11-04  9:55 ` [PATCH -v4 1/2] mm: add spurious fault fixing support for huge pmd Huang Ying
2025-11-04  9:55 ` [PATCH -v4 2/2] arm64, tlbflush: don't TLBI broadcast if page reused in write fault Huang Ying
2025-11-06  9:47   ` David Hildenbrand (Red Hat)
2025-11-06 16:54     ` Ryan Roberts
2025-11-08  7:20     ` Huang, Ying
2025-11-06  1:01 ` [PATCH -v4 0/2] arm, tlbflush: avoid " Huang, Ying

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox