arch: Introduce smp_load_acquire() and smp_store_release()
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest4 patches 1 replyIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/4 | doc: Rename LOCK/UNLOCK to ACQUIRE/RELEASEDocumentation/ | +123 | 0 replies | |
| 2/4 | arch: Move smp_mb__{before,after}_atomic_{inc,dec}.h into asm/atomic.harch/ arch/ arch/ +1 more | +10 | 0 replies | |
| 3/4 | arch: Clean up asm/barrier.h implementations using asm-generic/barrier.harch/ arch/ arch/ +21 more | +58 | 0 replies | |
| 4/4 | arch: Introduce smp_load_acquire(), smp_store_release()arch/ arch/ arch/ +8 more | +234 | 0 replies |
Reviews trailers per patch
All 4 patches have a Reviewed-by or Acked-by.
| Patch | Mathieu Desnoyers | Paul E. McKenney | Vineet Gupta | Will Deacon |
|---|---|---|---|---|
| 1/4 | A-b | R-b | ||
| 2/4 | R-b | A-b | ||
| 3/4 | R-b | R-b | ||
| 4/4 | R-b | A-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 4 reviewers.
Cover letter [PATCH 0/4] arch: Introduce smp_load_acquire() and smp_store_release()
This should hopefully be the last posting of this series -- people felt it needed one more mostly because last time I typoed the linux-kernel email address.
If there are no further comments, Ingo will merge these patches in the next few days.
---
These patches introduce 2 new barrier primitives:
smp_load_acquire(p)
smp_store_release(p, v)
See the first patch, which changes Documentation/memory-barriers.txt, to find the exact definitions of what an ACQUIRE/RELEASE barrier is -- previously known as LOCK/UNLOCK barriers.
The second patch moves the smp_mb__{before,after}_atomic_{dec,inc}() barriers to asm/atomic.h for arc and hexagon -- they were already there for all other archs.
This cleans up asm/barrier.h, and the third patch makes more agressive use of asm-generic/barrier.h to implement the simple cases.
Then the fourth patch adds the new primitives.
Previous versions were widely build tested -- this version is not, but it also not significantly different.
These patches apply to:
tip/master
---
Changes since the last version -- lkml.kernel.org/r/[email protected]
- fixed linux-kernel email address
- updated the Documentation patch