riscv: mm: Some optimizations for tlb flush
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v2 Latest3 patches 9 repliesIn review
- v1 posting 2/22 patches 7 repliesSuperseded
- v1 posting 1/22 patches 0 repliesSuperseded
Changes in v2 from the cover letter
1. Split the modification on update_mmu_cache() into two commits. Thanks to Paul.
2. Fix address errors in the svinval processing path in V1. Thanks to Klara.
Patches in v2 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/3 | riscv: mm: Use ASID in update_mmu_cache()arch/ arch/ arch/ | +8 | 5 replies | |
| 2/3 | riscv: mm: Apply Svinval in update_mmu_cache()arch/ arch/ arch/ | +26 | 4 replies | |
| 3/3 | riscv: mm: Clear cpu in mm_cpumask after local_flush_tlb_all_asidarch/ | +25 | 0 replies |
Reviews trailers per patch
None of the 3 patches has a Reviewed-by or Acked-by.
| Patch | Klara Modin |
|---|---|
| 1/3 | |
| 2/3 | T-b |
| 3/3 |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH v2 0/3] riscv: mm: Some optimizations for tlb flush
Some optimizations for tlb flush on RISC-V smp:
1. Apply Svinval in update_mmu_cache() to avoid flushing irrelevant tlb entries.
2. Clear bit of current cpu in mm_cpumask after local_flush_tlb_all_asid() to avoid potential IPIs in the future.
Some false positive spacing error happens during patch checking. Thus I CCed maintainers of checkpatch.pl as well.
Changes in V2:
1. Split the modification on update_mmu_cache() into two commits. Thanks to Paul.
2. Fix address errors in the svinval processing path in V1. Thanks to Klara.
Xu Lu (3):
riscv: mm: Use ASID in update_mmu_cache()
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 | 12 +++++- arch/riscv/include/asm/tlbflush.h | 23 +++++++++++ arch/riscv/mm/tlbflush.c | 64 ++++++++++++------------------- 3 files changed, 59 insertions(+), 40 deletions(-)
Signature · 1 line
2.39.5