spin_unlock_wait borkage
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest6 patches 6 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/6 | locking: Replace smp_cond_acquire with smp_cond_load_acquireinclude/ kernel/ kernel/ +2 more | +31 | 0 replies | |
| 2/6 | locking: Introduce cmpwait()include/ | +18 | 0 replies | |
| 3/6 | locking: Introduce smp_acquire__after_ctrl_depinclude/ ipc/ | +12 | 0 replies | |
| 4/6 | locking, arch: Update spin_unlock_wait()arch/ arch/ arch/ +18 more | +117 | 6 replies | |
| 5/6 | locking: Update spin_unlock_wait usersipc/ kernel/ kernel/ | +6 | 0 replies | |
| 6/6 | locking,netfilter: Fix nf_conntrack_lock()net/ | +17 | 0 replies |
Reviews trailers per patch
1 of 6 patches has a Reviewed-by or Acked-by.
| Patch | Will Deacon | Chris Metcalf |
|---|---|---|
| 1/6 | Requested-by | |
| 2/6 | ||
| 3/6 | ||
| 4/6 | A-b | |
| 5/6 | ||
| 6/6 |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH -v2 0/6] spin_unlock_wait borkage
This version rewrites all spin_unlock_wait() implementations to provide the acquire order against the spin_unlock() release we wait on, ensuring we can fully observe the critical section we waited on.
It pulls in the smp_cond_acquire() rewrite because it introduces a lot more users of it. All simple spin_unlock_wait implementations end up being an smp_cond_load_acquire().
And while this still introduces smp_acquire__after_ctrl_dep() it keeps its usage contained to a few sites.
Please consider.. carefully.