spin_unlock_wait borkage and assorted bits
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest8 patches 15 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/8 | locking: Replace smp_cond_acquire with smp_cond_load_acquireinclude/ kernel/ kernel/ +2 more | +31 | 0 replies | |
| 2/8 | locking: Introduce cmpwait()include/ | +18 | 0 replies | |
| 3/8 | locking: Introduce smp_acquire__after_ctrl_depinclude/ ipc/ | +15 | 3 replies | |
| 4/8 | locking, arch: Update spin_unlock_wait()arch/ arch/ arch/ +18 more | +121 | 2 replies | |
| 5/8 | locking: Update spin_unlock_wait usersipc/ kernel/ kernel/ | +6 | 0 replies | |
| 6/8 | locking,netfilter: Fix nf_conntrack_lock()net/ | +17 | 0 replies | |
| 7/8 | locking: Move smp_cond_load_acquire() and friends into asm-generic/barrier.harch/ arch/ arch/ +16 more | +90 | 9 replies | |
| 8/8 | locking, tile: Provide TILE specific smp_acquire__after_ctrl_deparch/ | +7 | 1 reply |
Reviews trailers per patch
1 of 8 patches has a Reviewed-by or Acked-by.
| Patch | Will Deacon | Chris Metcalf |
|---|---|---|
| 1/8 | Requested-by | |
| 2/8 | ||
| 3/8 | ||
| 4/8 | ||
| 5/8 | ||
| 6/8 | ||
| 7/8 | ||
| 8/8 | A-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH -v3 0/8] spin_unlock_wait borkage and assorted bits
Similar to -v2 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; apart from the fixes from the last posting (s390,tile), is that it moves smp_cond_load_acquire() and friends into asm-generic/barrier.h such that architectures that explicitly do not do load speculation (tile) can override smp_acquire__after_ctrl_dep().
I'm planning on queuing these patches for 4.8.