cmpxchg_local and cmpxchg64_local patches, cleaned up
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest28 patches 0 repliesNew
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/28 | Add cmpxchg_local to asm-generic for per cpu atomic operationsinclude/ include/ | +87 | 0 replies | |
| 2/28 | Fall back on interrupt disable in cmpxchg8b on 80386 and 80486arch/ include/ | +96 | 0 replies | |
| 3/28 | Add cmpxchg64 and cmpxchg64_local to alphainclude/ | +13 | 0 replies | |
| 4/28 | Add cmpxchg64 and cmpxchg64_local to mipsinclude/ | +17 | 0 replies | |
| 5/28 | Add cmpxchg64 and cmpxchg64_local to powerpcinclude/ | +16 | 0 replies | |
| 6/28 | Add cmpxchg64 and cmpxchg64_local to x86_64include/ | +16 | 0 replies | |
| 7/28 | Add cmpxchg_local to arminclude/ | +15 | 0 replies | |
| 8/28 | Add cmpxchg_local to avr32include/ | +23 | 0 replies | |
| 9/28 | Add cmpxchg_local to blackfin, replace __cmpxchg by generic cmpxchginclude/ | +12 | 0 replies | |
| 10/28 | Add cmpxchg_local to crisinclude/ | +15 | 0 replies | |
| 11/28 | Add cmpxchg_local to frvinclude/ | +24 | 0 replies | |
| 12/28 | Add cmpxchg_local to h8300include/ | +15 | 0 replies | |
| 13/28 | Add cmpxchg_local, cmpxchg64 and cmpxchg64_local to ia64include/ | +9 | 0 replies | |
| 14/28 | New cmpxchg_local (optimized for UP case) for m32rinclude/ | +101 | 0 replies | |
| 15/28 | Fix m32r __xchginclude/ | +1 | 0 replies | |
| 16/28 | m32r: build fix of arch/m32r/kernel/smpboot.carch/ | +1 | 0 replies | |
| 17/28 | local_t m32r use architecture specific cmpxchg_localinclude/ | +361 | 0 replies | |
| 18/28 | Add cmpxchg_local to m86kinclude/ | +24 | 0 replies | |
| 19/28 | Add cmpxchg_local to m68knommuinclude/ | +11 | 0 replies | |
| 20/28 | Add cmpxchg_local to pariscinclude/ | +33 | 0 replies | |
| 21/28 | Add cmpxchg_local to ppcinclude/ | +49 | 0 replies | |
| 22/28 | Add cmpxchg_local to s390include/ | +41 | 0 replies | |
| 23/28 | Add cmpxchg_local to sh, use generic cmpxchg() instead of cmpxchg_u32include/ | +14 | 0 replies | |
| 24/28 | Add cmpxchg_local to sh64include/ | +15 | 0 replies | |
| 25/28 | Add cmpxchg_local to sparc, move __cmpxchg to system.hinclude/ include/ | +48 | 0 replies | |
| 26/28 | Add cmpxchg_local to sparc64include/ | +29 | 0 replies | |
| 27/28 | Add cmpxchg_local to v850include/ | +15 | 0 replies | |
| 28/28 | Add cmpxchg_local to xtensainclude/ | +22 | 0 replies |
Reviews trailers per patch
6 of 28 patches have a Reviewed-by or Acked-by.
| Patch | Mathieu Desnoyers | Christoph Lameter | Paul Mackerras | Hirokazu Takata | Haavard Skinnemoen |
|---|---|---|---|---|---|
| 1/28 | T-b T-b | T-b | |||
| 2/28 | |||||
| 3/28 | |||||
| 4/28 | |||||
| 5/28 | A-b | ||||
| 6/28 | |||||
| 7/28 | |||||
| 8/28 | A-b | ||||
| 9/28 | |||||
| 10/28 | |||||
| 11/28 | |||||
| 12/28 | |||||
| 13/28 | A-b | ||||
| 14/28 | A-b | ||||
| 15/28 | A-b | ||||
| 16/28 | |||||
| 17/28 | A-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.
Cover letter [patch 00/28] cmpxchg_local and cmpxchg64_local patches, cleaned up
Hi,
Here is a repost of those patches after running them through checkpatch.
I added a compile check to each architecture implementing cmpxchg64_local that verifies if the argument size is 8 bytes.
Sorry about the coding style state in which those patches were : I tried to follow the coding style of the existing header code, which is, to be polite, disappointing.
I left the "volatile" in the function headers, since I do not want to take any decision in that aspect without being fully aware of the consequences. If we remove them in those functions, we should clean up the surrounding, already existing, functions as well.
The only checkpatch errors left are related to inline assembly code, which does not seem to follow the same rules.
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