spin_unlock_wait borkage and assorted bits
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest7 patches 18 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/7 | locking: Replace smp_cond_acquire with smp_cond_load_acquireinclude/ kernel/ kernel/ +2 more | +31 | 0 replies | |
| 2/7 | locking: Introduce smp_acquire__after_ctrl_depinclude/ ipc/ | +14 | 0 replies | |
| 3/7 | locking: Move smp_cond_load_acquire() to asm-generic/barrier.hinclude/ include/ | +39 | 0 replies | |
| 4/7 | locking, tile: Provide TILE specific smp_acquire__after_ctrl_deparch/ | +7 | 0 replies | |
| 5/7 | locking, arch: Update spin_unlock_wait()arch/ arch/ arch/ +19 more | +154 | 18 replies | |
| 6/7 | locking: Update spin_unlock_wait usersipc/ kernel/ kernel/ | +6 | 0 replies | |
| 7/7 | locking,netfilter: Fix nf_conntrack_lock()net/ | +17 | 0 replies |
Reviews trailers per patch
1 of 7 patches has a Reviewed-by or Acked-by.
| Patch | Will Deacon | Chris Metcalf |
|---|---|---|
| 1/7 | Requested-by | |
| 2/7 | ||
| 3/7 | ||
| 4/7 | A-b | |
| 5/7 | ||
| 6/7 | ||
| 7/7 |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH -v4 0/7] spin_unlock_wait borkage and assorted bits
Similar to -v3 in that it rewrites spin_unlock_wait() for all.
The new spin_unlock_wait() provides ACQUIRE semantics to match the RELEASE of the spin_unlock() we waited for and thereby ensure we can fully observe its critical section.
This fixes a number (pretty much all) spin_unlock_wait() users.
This series pulls in the smp_cond_acquire() rewrite because it introduces a lot of new users of it. All simple spin_unlock_wait() implementations end up being one.
New in this series is the removal of cmpwait() and a reorder of patches.
I'm planning on queuing these patches for 4.8.