Skip to content

Upgrade of this_cpu_ops

Christoph Lameter lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest10 patches 40 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/10percpucounter: Optimize __percpu_counter_add a bit through the use of this_cpu() options.lib/percpu_counter.c+3 -52 replies
2/10vmstat: Optimize zone counter modifications through the use of this cpu operationsmm/vmstat.c+32 -241 reply
3/10percpu: Generic support for this_cpu_add,sub,dec,inc_returninclude/linux/percpu.h+70 -03 replies
4/10x86: Support for this_cpu_add,sub,dec,inc_returnarch/x86/include/asm/percpu.h+50 -01 reply
5/10x86: Use this_cpu_inc_return for nmi counterarch/x86/kernel/apic/nmi.c+1 -23 replies
6/10vmstat: Use this_cpu_inc_return for vm statisticsmm/vmstat.c+2 -60 replies
7/10highmem: Use this_cpu_xx_return() operationsinclude/linux/highmem.h+4 -30 replies
8/10percpu: generic this_cpu_cmpxchg() and this_cpu_cmpxchg_double supportinclude/linux/percpu.h+178 -16 replies
9/10x86: this_cpu_cmpxchg and this_cpu_cmpxchg_double operationsarch/x86/include/asm/percpu.h+100 -04 replies
10/10Lockless (and preemptless) fastpaths for slubinclude/linux/slub_def.h mm/slub.c+113 -1820 replies

Reviews trailers per patch

4 of 10 patches have a Reviewed-by or Acked-by.

PatchPekka EnbergTejun Heo
1/10R-b R-b
2/10
3/10R-b
4/10R-b
5/10R-b
6/10
7/10
8/10
9/10
10/10

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [thiscpuops upgrade 00/10] Upgrade of this_cpu_ops

A patchset that adds more this_cpu operations and in particular RMV operations that can be used in various places to avoid address calculations and memory accesses.

Also adds this_cpu_cmpxchg_double() which is a locally atomic version of cmpxchg and uses that to demo how a lockless, preemptless fastpath for memory allocation could work. Works good enough so that I can write this email with that fastpath scheme.