diff options
author | 2019-06-24 22:30:32 -0700 | |
---|---|---|
committer | 2023-03-24 10:24:15 -0700 | |
commit | 719bef0cbe7be11a1be3ad30a11cb33959a5435a (patch) | |
tree | 65d4e9ba63205c7509c270871be21eb0d63d0e09 /tools/perf/scripts/python | |
parent | tools/memory-model: Make judgelitmus.sh handle scripted Result: tag (diff) | |
download | wireguard-linux-719bef0cbe7be11a1be3ad30a11cb33959a5435a.tar.xz wireguard-linux-719bef0cbe7be11a1be3ad30a11cb33959a5435a.zip |
tools/memory-model: Use "-unroll 0" to keep --hw runs finite
Litmus tests involving atomic operations produce LL/SC loops on a number
of architectures, and unrolling these loops can result in excessive
verification times or even stack overflows. This commit therefore uses
the "-unroll 0" herd7 argument to avoid unrolling, on the grounds that
additional passes through an LL/SC loop should not change the verification.
Note however, that certain bugs in the mapping of the LL/SC loop to
machine instructions may go undetected. On the other hand, herd7 might
not be the best vehicle for finding such bugs in any case. (You do
stress-test your architecture-specific code, don't you?)
Suggested-by: Luc Maranget <luc.maranget@inria.fr>
Signed-off-by: Paul E. McKenney <paulmck@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions