[PATCH RFC tools/memory-model 0/5] Additional proposed changes to LKMM

From: Paul E. McKenney
Date: Mon Apr 16 2018 - 12:21:34 EST


Hello!

This series contains a few additional changes to tools/memory-model,
however, the members of this series need more discussion and feedback
before they are ready for inclusion.

1. Add LKMM test scripts.

2. Add litmus test for full-up multicopy atomicity.

3. Add experimental .cfg and .cat files for s390. These are for
expository purposes only, and would more likely be included in
the herd tool than in the Linux kernel.

4. Add LKMM support for spin_is_locked(), courtesy of Luc Maranget.
It has been suggested that spin_is_locked() be removed from the
kernel, but in the meantime we should at least have a definition
of what it does.

5. Flag litmus test demonstrating the A-cumulativity of
smp_store_release() and LKMM's propagation rule.

Thanx, Paul

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

linux-kernel.def | 1
litmus-tests/.gitignore | 1
litmus-tests/IRIW+mbonceonces+OnceOnce.litmus | 2
litmus-tests/MP+polockmbonce+poacquiresilsil.litmus | 30 +++++
litmus-tests/MP+polockonce+poacquiresilsil.litmus | 29 +++++
litmus-tests/README | 19 +++
litmus-tests/SB+poonceoncescoh.litmus | 31 ++++++
litmus-tests/WRC+pooncerelease+rmbonceonce+Once.litmus | 4
lock.cat | 53 +++++++++-
s390.cat | 18 +++
s390.cfg | 21 ++++
scripts/checkalllitmus.sh | 73 ++++++++++++++
scripts/checklitmus.sh | 86 +++++++++++++++++
13 files changed, 359 insertions(+), 9 deletions(-)