mirror of
https://git.proxmox.com/git/mirror_ubuntu-kernels.git
synced 2025-11-07 13:49:40 +00:00
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> |
||
|---|---|---|
| .. | ||
| checkalllitmus.sh | ||
| checkghlitmus.sh | ||
| checklitmus.sh | ||
| checklitmushist.sh | ||
| checktheselitmus.sh | ||
| cmplitmushist.sh | ||
| hwfnseg.sh | ||
| initlitmushist.sh | ||
| judgelitmus.sh | ||
| newlitmushist.sh | ||
| parseargs.sh | ||
| README | ||
| runlitmus.sh | ||
| runlitmushist.sh | ||
| simpletest.sh | ||
============ LKMM SCRIPTS ============ These scripts are run from the tools/memory-model directory. checkalllitmus.sh Run all litmus tests in the litmus-tests directory, checking the results against the expected results recorded in the "Result:" comment lines. checkghlitmus.sh Run all litmus tests in the https://github.com/paulmckrcu/litmus archive that are C-language and that have "Result:" comment lines documenting expected results, comparing the actual results to those expected. checklitmushist.sh Run all litmus tests having .litmus.out files from previous initlitmushist.sh or newlitmushist.sh runs, comparing the herd7 output to that of the original runs. checklitmus.sh Check a single litmus test against its "Result:" expected result. Not intended to for manual use. checktheselitmus.sh Check the specified list of litmus tests against their "Result:" expected results. This takes optional parseargs.sh arguments, followed by "--" followed by pathnames starting from the current directory. cmplitmushist.sh Compare output from two different runs of the same litmus tests, with the absolute pathnames of the tests to run provided one name per line on standard input. Not normally run manually, provided instead for use by other scripts. initlitmushist.sh Run all litmus tests having no more than the specified number of processes given a specified timeout, recording the results in .litmus.out files. judgelitmus.sh Given a .litmus file and its herd7 output, check the output file against the .litmus file's "Result:" comment to judge whether the test ran correctly. Not normally run manually, provided instead for use by other scripts. newlitmushist.sh For all new or updated litmus tests having no more than the specified number of processes given a specified timeout, run and record the results in .litmus.out files. parseargs.sh Parse command-line arguments. Not normally run manually, provided instead for use by other scripts. runlitmushist.sh Run the litmus tests whose absolute pathnames are provided one name per line on standard input. Not normally run manually, provided instead for use by other scripts. README This file