Skip to content

local_t : adding and standardising atomic primitives

Mathieu Desnoyers linux-mips linuxppc-dev lkml 1 version In review

Get series with b4
b4 am 20061221001545.GP28643@Krystal

Versions newest first

  1. v1 Latest10 patches 8 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/10local_t : architecture agnosticinclude/asm-generic/local.h+23 -100 replies
2/10local_t : alphainclude/asm-alpha/local.h include/asm-alpha/system.h+329 -240 replies
3/10local_t : i386include/asm-i386/local.h include/asm-i386/system.h+236 -281 reply
4/10local_t : ia64include/asm-ia64/local.h+1 -500 replies
5/10local_t : ia64include/asm-mips/local.h include/asm-mips/system.h+629 -391 reply
6/10local_t : pariscinclude/asm-parisc/local.h+1 -400 replies
7/10local_t : powerpcinclude/asm-powerpc/local.h include/asm-powerpc/system.h+474 -14 replies
8/10local_t : s390include/asm-s390/local.h+1 -580 replies
9/10local_t : sparc64include/asm-sparc64/local.h+1 -400 replies
10/10local_t : x86_64include/asm-x86_64/local.h include/asm-x86_64/system.h+201 -311 reply

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/10] local_t : adding and standardising atomic primitives

These patches extend and standardise local_t operations on each architectures, allowing a rich set of atomic operations to be done on per-cpu data with minimal performance impact. On some architectures, there seems to be no difference between the SMP and UP operation (same memory barriers, same LOCking), local.h simply includes asm-generic/local.h, which removes duplicated code.

These patches applies on 2.6.20-rc1-git7.
It depends on the patch "atomic.h : standardising atomic primitives"

OpenPGP public key:              http://krystal.dyndns.org:8080/key/compudj.gpg
Key fingerprint:     8CD5 52C3 8E3C 4140 715F  BA06 3F25 A8FE 3BAE 9A68