Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

Documentation/litmus-tests: Add note on herd7 7.56 in atomic litmus test

herdtools 7.56 has enhanced herd7's C parser so that the "(void)expr"
construct in Atomic-RMW-ops-are-atomic-WRT-atomic_set.litmus is
accepted.

This is independent of LKMM's cat model, so mention the required
version in the header of the litmus test and its entry in README.

CC: Boqun Feng <boqun.feng@gmail.com>
Reported-by: Andrea Parri <parri.andrea@gmail.com>
Acked-by: Andrea Parri <parri.andrea@gmail.com>
Signed-off-by: Akira Yokosawa <akiyks@gmail.com>
Signed-off-by: Paul E. McKenney <paulmck@kernel.org>

authored by

Akira Yokosawa and committed by
Paul E. McKenney
5ef0a07a 2bfa5c62

+2
+1
Documentation/litmus-tests/README
··· 19 19 20 20 Atomic-RMW-ops-are-atomic-WRT-atomic_set.litmus 21 21 Test that atomic_set() cannot break the atomicity of atomic RMWs. 22 + NOTE: Require herd7 7.56 or later which supports "(void)expr". 22 23 23 24 24 25 RCU (/rcu directory)
+1
Documentation/litmus-tests/atomic/Atomic-RMW-ops-are-atomic-WRT-atomic_set.litmus
··· 4 4 * Result: Never 5 5 * 6 6 * Test that atomic_set() cannot break the atomicity of atomic RMWs. 7 + * NOTE: This requires herd7 7.56 or later which supports "(void)expr". 7 8 *) 8 9 9 10 {