Skip to content

Updates to the formal memory model

Paul E. McKenney linux-arch lkml 1 version Applied

Status from this message: Applied to tip:locking/core, thanks Paul!

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest5 patches 30 repliesApplied

Patches in v1 Applied

#Subject and filesSizeRepliesApplied
1/5tools/memory-model: Add litmus-test naming schemetools/memory-model/litmus-tests/README+102 -20 replies
2/5tools/memory-model: Add extra ordering for locks and remove it for ordinary release/acquiretools/memory-model/Documentation/explanation.txt tools/memory-model/linux-kernel.cat tools/memory-model/litmus-tests/ISA2+pooncelock+pooncelock+pombonce.litmus+150 -5129 replies
3/5tools/memory-model: Fix a README typotools/memory-model/Documentation/recipes.txt+1 -10 replies
4/5tools/memory-model: Add more LKMM limitationstools/memory-model/README+39 -00 replies
5/5doc: Replace smp_cond_acquire() with smp_cond_load_acquire()Documentation/memory-barriers.txt+1 -20 replies

Reviews trailers per patch

All 5 patches have a Reviewed-by or Acked-by.

PatchWill DeaconPeter Zijlstra (Intel)Andrea ParriAlan SternPalmer Dabbelt
1/5A-b
2/5R-b A-b R-b A-b
3/5A-b
4/5R-b
5/5A-b A-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 5 reviewers.

Read the v1 thread

Cover letter [PATCH memory-model 0/5] Updates to the formal memory model

Hello, Ingo!

This series contains updates to the Linux kernel's formal memory model in tools/memory-model, along with corresponding changes in documentation and Linux-kernel code. These patches are ready for inclusion into -tip.

1. Document litmus-test naming scheme.

2. Add extra ordering for locks and remove it for ordinary
release/acquire, courtesy of Alan Stern.

3. Fix a README typo, courtesy of SeongJae Park.

4. Expand the list of LKMM limitations.

5. Replace smp_cond_acquire() with smp_cond_load_acquire(),
courtesy of Andrea Parri.

Thanx, Paul

------------------------------------------------------------------------

 Documentation/memory-barriers.txt                                          |    3 
 tools/memory-model/Documentation/explanation.txt                           |  186 +++++++---
 tools/memory-model/Documentation/recipes.txt                               |    2 
 tools/memory-model/README                                                  |   39 ++
 tools/memory-model/linux-kernel.cat                                        |    8 
 tools/memory-model/litmus-tests/ISA2+pooncelock+pooncelock+pombonce.litmus |    7 
 tools/memory-model/litmus-tests/README                                     |  104 +++++
 7 files changed, 293 insertions(+), 56 deletions(-)