Kernel fixes to spin_is_locked()
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest3 patches 0 repliesNew
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/3 | locking: Document the semantics of spin_is_locked()include/ | +18 | 0 replies | |
| 2/3 | arm64: Remove smp_mb() from arch_spin_is_locked()arch/ | +0 | 0 replies | |
| 3/3 | locking: Clean up comment and #ifndef for {,queued_}spin_is_locked()include/ include/ | +0 | 0 replies |
Reviews trailers per patch
All 3 patches have a Reviewed-by or Acked-by.
| Patch | Randy Dunlap | Will Deacon |
|---|---|---|
| 1/3 | A-b | |
| 2/3 | A-b | |
| 3/3 | A-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH memory-model 0/3] Kernel fixes to spin_is_locked()
Hello!
This series contains fixes to the kernel related to the semantics of spin_is_locked(), all courtesy of Andrea Parri, and all ready for inclusion in -tip:
1. Document the semantics of spin_is_locked() by adding a docbook
header comment.
2. Remove smp_mb() from arch_spin_is_locked(), given that the
new order-free spin_is_locked() semantics require no such barrier.
3. Clean up comment and #ifndef for {,queued_}spin_is_locked().
The comment was "XXX think about spin_is_locked", and I can attest that we have now done some serious thinking. ;-)
Thanx, Paul
------------------------------------------------------------------------