RFC Implement MMU_LAZY_TLB_SHOOTDOWN for alpha
Get series with b4
b4 am [email protected]Versions newest first
- v1 RFC Latest6 patches 5 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/6 | alpha: remove extern inline from mmu_contextarch/ | +5 | 0 replies | |
| 2/6 | alpha: implement simple mm_cpumask TLB flush filterarch/ arch/ arch/ | +35 | 0 replies | |
| 3/6 | alpha: remove TLB flushing mm_users special casearch/ | +15 | 0 replies | |
| 4/6 | alpha: clean mm_cpumask when flushing TLBsarch/ arch/ | +30 | 2 replies | |
| 5/6 | alpha: enable MMU_LAZY_TLB_SHOOTDOWNarch/ arch/ | +2 | 0 replies | |
| 6/6 | alpha: shoot the lazy tlb mm when flushing TLBsarch/ | +10 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [RFC PATCH 0/6] Implement MMU_LAZY_TLB_SHOOTDOWN for alpha
Hi,
I started looking at alpha TLB flushing a while back with the aim of converting another architecture to this option. powerpc has fairly complicated MMU and TLB code so I thought it would be good to have a simpler reference architecture.
alpha had SMP QEMU support, TLB flushing that's fairly simple, and it doesn't use mm_cpumask in a complicated way, so it fits.
These patches work for me, but only tested on QEMU so that's not saying too much when it comes to race conditions, so some healthy skepticism is recommended.
Any thoughts about the series would be interesting to hear.
Thanks,
Nick
Nicholas Piggin (6):
alpha: remove extern inline from mmu_context
alpha: implement simple mm_cpumask TLB flush filter
alpha: remove TLB flushing mm_users special case
alpha: clean mm_cpumask when flushing TLBs
alpha: enable MMU_LAZY_TLB_SHOOTDOWN
alpha: shoot the lazy tlb mm when flushing TLBs
arch/alpha/Kconfig | 1 + arch/alpha/include/asm/mmu_context.h | 43 +++++----- arch/alpha/include/asm/tlbflush.h | 3 + arch/alpha/kernel/smp.c | 120 ++++++++++++++------------- arch/alpha/mm/init.c | 2 + 5 files changed, 94 insertions(+), 75 deletions(-)
Signature · 1 line
2.40.1