Skip to content

Add cmpxchg64_local and cmpxchg_local to each architecture

Mathieu Desnoyers linuxppc-dev lkml sparclinux 1 version Applied

Status from this message: Queued for 2.6.24. Thanks,

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest28 patches 12 repliesApplied

Patches in v1 Applied

#Subject and filesSizeRepliesApplied
1/28Fall back on interrupt disable in cmpxchg8b on 80386 and 80486arch/i386/kernel/cpu/intel.c include/asm-i386/cmpxchg.h+85 -323 replies
2/28Add cmpxchg64 and cmpxchg64_local to alphainclude/asm-alpha/system.h+2 -00 replies
3/28Add cmpxchg64 and cmpxchg64_local to mipsinclude/asm-mips/system.h+9 -11 reply
4/28Add cmpxchg64 and cmpxchg64_local to powerpcinclude/asm-powerpc/system.h+6 -02 replies
5/28Add cmpxchg64 and cmpxchg64_local to x86_64include/asm-x86_64/cmpxchg.h+2 -00 replies
6/28Add cmpxchg_local to asm-generic for per cpu atomic operationsinclude/asm-generic/cmpxchg-local.h include/asm-generic/cmpxchg.h+82 -00 replies
7/28Add cmpxchg_local to arminclude/asm-arm/system.h+10 -310 replies
8/28Add cmpxchg_local to avr32include/asm-avr32/system.h+23 -00 replies
9/28Add cmpxchg_local to blackfin, replace __cmpxchg by generic cmpxchginclude/asm-blackfin/system.h+12 -470 replies
10/28Add cmpxchg_local to crisinclude/asm-cris/system.h+15 -00 replies
11/28Add cmpxchg_local to frvinclude/asm-frv/system.h+24 -00 replies
12/28Add cmpxchg_local to h8300include/asm-h8300/system.h+15 -00 replies
13/28Add cmpxchg_local, cmpxchg64 and cmpxchg64_local to ia64include/asm-ia64/intrinsics.h+4 -01 reply
14/28New cmpxchg_local (optimized for UP case) for m32rinclude/asm-m32r/system.h+97 -60 replies
15/28Fix m32r __xchginclude/asm-m32r/system.h+1 -30 replies
16/28m32r: build fix of arch/m32r/kernel/smpboot.carch/m32r/kernel/smpboot.c+1 -00 replies
17/28local_t m32r use architecture specific cmpxchg_localinclude/asm-m32r/local.h+361 -10 replies
18/28Add cmpxchg_local to m86kinclude/asm-m68k/system.h+21 -00 replies
19/28Add cmpxchg_local to m68knommuinclude/asm-m68knommu/system.h+11 -170 replies
20/28Add cmpxchg_local to pariscinclude/asm-parisc/atomic.h+29 -00 replies
21/28Add cmpxchg_local to ppcinclude/asm-ppc/system.h+48 -10 replies
22/28Add cmpxchg_local to s390include/asm-s390/system.h+34 -00 replies
23/28Add cmpxchg_local to sh, use generic cmpxchg() instead of cmpxchg_u32include/asm-sh/system.h+12 -360 replies
24/28Add cmpxchg_local to sh64include/asm-sh64/system.h+15 -00 replies
25/28Add cmpxchg_local to sparc, move __cmpxchg to system.hinclude/asm-sparc/atomic.h include/asm-sparc/system.h+47 -360 replies
26/28Add cmpxchg_local to sparc64include/asm-sparc64/system.h+25 -00 replies
27/28Add cmpxchg_local to v850include/asm-v850/system.h+15 -00 replies
28/28Add cmpxchg_local to xtensainclude/asm-xtensa/system.h+22 -00 replies

Reviews trailers per patch

6 of 28 patches have a Reviewed-by or Acked-by.

PatchHirokazu TakataHaavard SkinnemoenMathieu DesnoyersChristoph LameterPaul Mackerras
SeriesT-b T-b T-b
1/28
2/28
3/28
4/28A-b
5/28
6/28
7/28
8/28A-b
9/28
10/28
11/28
12/28
13/28A-b
14/28A-b
15/28A-b
16/28
17/28A-b
18/28
19/28
20/28
21/28
22/28
23/28
24/28
25/28
26/28
27/28
28/28

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 5 reviewers.

Read the v1 thread

Cover letter [patch 00/28] Add cmpxchg64_local and cmpxchg_local to each architecture

Hi Andrew,

Here is the patch series for 2.6.23-rc3-mm1 that adds cmpxchg_local, and now also cmpxchg64_local, to each architecture.

When the architecture supports it, it also defines cmpxchg64, but is is not defined for architecture that does not support atomic 64 bits updates.

Following performance testing of the slub allocator with cmpxchg_local, these patches should prove themselves useful in a near future.

Mathieu

Signature · 3 lines
Mathieu Desnoyers
Computer Engineering Ph.D. Student, Ecole Polytechnique de Montreal
OpenPGP key fingerprint: 8CD5 52C3 8E3C 4140 715F  BA06 3F25 A8FE 3BAE 9A68