Memory-model changes
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest17 patches 0 repliesNew
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/17 | tools/memory-model: Rename link and rcu-path to rcu-link and rbtools/ tools/ | +55 | 0 replies | |
| 2/17 | tools/memory-model: Redefine rb in terms of rcu-fencetools/ tools/ | +129 | 0 replies | |
| 3/17 | docs/memory-barriers.txt: Fix broken DMA vs MMIO ordering exampleDocumentation/ | +9 | 0 replies | |
| 4/17 | locking: Document the semantics of spin_is_locked()include/ | +18 | 0 replies | |
| 5/17 | arm64: Remove smp_mb() from arch_spin_is_locked()arch/ | +0 | 0 replies | |
| 6/17 | locking: Clean up comment and #ifndef for {,queued_}spin_is_locked()include/ include/ | +0 | 0 replies | |
| 7/17 | kokr/doc: READ_ONCE() now implies smp_barrier_depends()Documentation/ | +9 | 0 replies | |
| 8/17 | kokr/doc: De-emphasize smp_read_barrier_dependsDocumentation/ | +5 | 0 replies | |
| 9/17 | kokr/Documentation/memory-barriers.txt: Cross-reference "tools/memory-model/"Documentation/ | +3 | 0 replies | |
| 10/17 | kokr/memory-barriers: Fix description of data dependency barriersDocumentation/ | +2 | 0 replies | |
| 11/17 | kokr/locking/memory-barriers: De-emphasize smp_read_barrier_depends() some moreDocumentation/ | +18 | 0 replies | |
| 12/17 | tools/memory-model: Update required version of herdtools7tools/ | +1 | 0 replies | |
| 13/17 | memory-model: Fix cheat sheet typotools/ | +1 | 0 replies | |
| 14/17 | tools/memory-order: Improve key for SELF and SVtools/ | +2 | 0 replies | |
| 15/17 | tools/memory-order: smp_mb__after_atomic() orders later RMW operationstools/ | +1 | 0 replies | |
| 16/17 | tools/memory-model: Model 'smp_store_mb()'tools/ | +1 | 0 replies | |
| 17/17 | tools/memory-model: Fix coding style in 'linux-kernel.def'tools/ | +14 | 0 replies |
Reviews trailers per patch
5 of 17 patches have a Reviewed-by or Acked-by.
| Patch | Andrea Parri | Boqun Feng | Randy Dunlap | Will Deacon |
|---|---|---|---|---|
| 1/17 | A-b | |||
| 2/17 | R-b | R-b | ||
| 3/17 | ||||
| 4/17 | A-b | |||
| 5/17 | A-b | |||
| 6/17 | A-b | |||
| 7/17 | ||||
| 8/17 | ||||
| 9/17 | ||||
| 10/17 | ||||
| 11/17 | ||||
| 12/17 | ||||
| 13/17 | ||||
| 14/17 | ||||
| 15/17 | ||||
| 16/17 | ||||
| 17/17 |
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 tools/memory-model 0/17] Memory-model changes
Hello!
This series contains changes to the memory model, including the formal model in tools/memory-model and documentation in memory-barriers.txt (plus the Korean translation). These changes are ready for inclusion in -tip.
1. Rename LKMM's "link" and "rcu-path" relations to "rcu-link"
and "rb", respectively, courtesy of Alan Stern.
2. Redefine LKMM's "rb" relation in terms of rcu-fence in order
to match the structure of LKMM's other strong fences, courtesy of Alan Stern.
3. Fix memory-barriers.txt's ordering example contrasting DMA to
MMIO, courtesy of Will Deacon.
4-6. Fixes related to spin_is_locked(), courtesy of Andrea Parri.
7-11. Updates to Korean translation of memory-barriers.txt, courtesy
of SeongJae Park.
12. Update required version of the herd7 tool, courtesy of Akira
Yokosawa.
13. Fix "RWM" typo in cheatsheet.txt, courtesy of Paolo Bonzini.
14. Improve cheatsheet.txt's key.
15. Fix cheatsheet.txt's ordering rules for smp_mb__after_atomic().
16. Add smp_store_mb() to LKMM, courtesy of Andrea Parri.
17. Use consistent coding style in linux-kernel.def, courtesy of
Andrea Parri.
Thanx, Paul
------------------------------------------------------------------------
Documentation/memory-barriers.txt | 17 - Documentation/translations/ko_KR/memory-barriers.txt | 56 ++-- arch/arm64/include/asm/spinlock.h | 5 include/asm-generic/qspinlock.h | 2 include/linux/mutex.h | 3 include/linux/spinlock.h | 18 + tools/memory-model/Documentation/cheatsheet.txt | 7 tools/memory-model/Documentation/explanation.txt | 261 +++++++++++-------- tools/memory-model/README | 2 tools/memory-model/linux-kernel.cat | 49 ++- tools/memory-model/linux-kernel.def | 29 +- 11 files changed, 268 insertions(+), 181 deletions(-)