RFC Cmpxchg and xchg support for cpu ops
Get series with b4
b4 am [email protected]Versions newest first
- v1 RFC Latest8 patches 7 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/8 | percpu: generic this_cpu_cmpxchg() and this_cpu_cmpxchg_double supportinclude/ | +257 | 0 replies | |
| 2/8 | --- include/linux/percpu.h | 31 +++---------------------------- 1 file changed, 3 insertions(+), 28 deletions(-)include/ | +3 | 0 replies | |
| 2/8 | Fallback to atomic xchg, cmpxchginclude/ | +3 | 0 replies | |
| 3/8 | x86: this_cpu_cmpxchg and this_cpu_cmpxchg_double operationsarch/ arch/ arch/ +1 more | +238 | 3 replies | |
| 4/8 | irq_work: Use per cpu atomics instead of regular atomicskernel/ | +9 | 0 replies | |
| 5/8 | vmstat: User per cpu atomics to avoid interrupt disable / enablemm/ | +87 | 0 replies | |
| 6/8 | Lockless (and preemptless) fastpaths for slubinclude/ mm/ | +219 | 0 replies | |
| 7/8 | slub: Add PageSlubPartialinclude/ mm/ | +17 | 0 replies | |
| 8/8 | slub: [RFC] Partially lockless freepath slowpathmm/ | +37 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [rfc: cpuops adv V1 0/8] Cmpxchg and xchg support for cpu ops
This is a patchset on top of the thiscpuops upgrade patchset. It adds cmpxchg and xchg support and uses that to improve various kernel subsystem.
For vm statistics we can avoid interrupt enable/disable which reduces the latencies of the vm counter updates to a fraction.
The slub fastpaths and slowpaths can decrease their cycle count. In particular it is possible to improve the performance of the free slowpath.