RFC Further radix TLB flush optimisations
Get series with b4
b4 am [email protected]Versions newest first
- v1 RFC Latest8 patches 5 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/8 | powerpc/64s/radix: Fix theoretical process table entry cache invalidationarch/ arch/ | +22 | 0 replies | |
| 2/8 | powerpc/64s/radix: tlbie improve preempt handlingarch/ | +22 | 0 replies | |
| 3/8 | powerpc/64s/radix: optimize TLB range flush barriersarch/ | +32 | 0 replies | |
| 4/8 | powerpc/64s/radix: Implement _tlbie(l)_va_range flush functionsarch/ | +40 | 0 replies | |
| 5/8 | powerpc/64s/radix: Introduce local single page ceiling for TLB range flusharch/ | +25 | 0 replies | |
| 6/8 | powerpc/64s/radix: Optimize flush_tlb_rangearch/ arch/ | +42 | 0 replies | |
| 7/8 | powerpc/64s/radix: Improve TLB flushing for unmaps that free a page tablearch/ | +40 | 0 replies | |
| 8/8 | powerpc/64s/radix: Only flush local TLB for spurious fault flushesarch/ arch/ arch/ +2 more | +48 | 5 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [RFC PATCH 0/8] Further radix TLB flush optimisations
Here is a bit more TLB flush work that mostly attempt to improve range flushes by reducing barriers, and reducing the cases we resort to flushing the entire PID.
I haven't done much benchmarking to get good numbers yet for the exact heuristics settings, just interested in comments for the overall idea.
Thanks,
Nick
Nicholas Piggin (8):
powerpc/64s/radix: Fix theoretical process table entry cache
invalidation
powerpc/64s/radix: tlbie improve preempt handling powerpc/64s/radix: optimize TLB range flush barriers powerpc/64s/radix: Implement _tlbie(l)_va_range flush functions powerpc/64s/radix: Introduce local single page ceiling for TLB range
flush
powerpc/64s/radix: Optimize flush_tlb_range powerpc/64s/radix: Improve TLB flushing for unmaps that free a page
table
powerpc/64s/radix: Only flush local TLB for spurious fault flushes
.../powerpc/include/asm/book3s/64/tlbflush-radix.h | 7 +- arch/powerpc/include/asm/book3s/64/tlbflush.h | 11 + arch/powerpc/include/asm/mmu_context.h | 4 + arch/powerpc/mm/mmu_context_book3s64.c | 23 +- arch/powerpc/mm/pgtable-book3s64.c | 5 +- arch/powerpc/mm/pgtable.c | 2 +- arch/powerpc/mm/tlb-radix.c | 263 +++++++++++++++------ 7 files changed, 234 insertions(+), 81 deletions(-)
Signature · 1 line
2.13.3