mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH 0/2] riscv: mm: Some optimizations for tlb flush
@ 2025-08-27 13:14 Xu Lu
  2025-08-27 13:14 ` [PATCH 1/2] riscv: mm: Apply svinval in update_mmu_cache() Xu Lu
  2025-08-27 13:14 ` [PATCH 2/2] riscv: mm: Clear cpu in mm_cpumask after local_flush_tlb_all_asid Xu Lu
  0 siblings, 2 replies; 3+ messages in thread
From: Xu Lu @ 2025-08-27 13:14 UTC (permalink / raw)
  To: paul.walmsley, palmer, aou, alex; +Cc: linux-riscv, linux-kernel, Xu Lu

Some optimizations for tlb flush on RISC-V smp:

1. Apply Svinval in update_mmu_cache().
2. Clear bit of current cpu in mm_cpumask after
local_flush_tlb_all_asid().

Xu Lu (2):
  riscv: mm: Apply svinval in update_mmu_cache()
  riscv: mm: Clear cpu in mm_cpumask after local_flush_tlb_all_asid

 arch/riscv/include/asm/pgtable.h  | 16 +++++++-
 arch/riscv/include/asm/tlbflush.h | 23 +++++++++++
 arch/riscv/mm/tlbflush.c          | 64 ++++++++++++-------------------
 3 files changed, 63 insertions(+), 40 deletions(-)

-- 
2.20.1


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

end of thread, other threads:[~2025-08-27 13:15 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2025-08-27 13:14 [PATCH 0/2] riscv: mm: Some optimizations for tlb flush Xu Lu
2025-08-27 13:14 ` [PATCH 1/2] riscv: mm: Apply svinval in update_mmu_cache() Xu Lu
2025-08-27 13:14 ` [PATCH 2/2] riscv: mm: Clear cpu in mm_cpumask after local_flush_tlb_all_asid Xu Lu

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

all inboxes | Powered by JetHome®