linux_dsm_epyc7002/tools/testing/selftests
Paul E. McKenney 79619cf515 rcutorture: Issue warnings on close calls due to Reader Batch blows
Normal rcutorture checking overestimates grace periods somewhat due to
the fact that there is a delay from a grace-period request until the
start of the corresponding grace period and another delay from the end
of that grace period to notification of the requestor.  This means that
rcutorture's detection of RCU bugs is less sensitive than it might be.

It turns out that rcutorture also checks the underlying grace-period
"completed" counter (displayed in Reader Batch output), which in theory
allows rcutorture to do exact checks.  In practice, memory misordering
(by both compiler and CPU) can result in false positives.  However,
experience on x86 shows that these false positives are quite rare,
occurring less than one time per 1,000 hours of testing.  This commit
therefore does the exact checking, giving a warning if any Reader Batch
blows happen, and flagging an error if they happen more often than
once every three hours in long tests.

Signed-off-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com>
2015-01-10 19:07:46 -08:00
..
breakpoints selftests/breakpoints: change test to use ksft framework 2014-11-17 10:39:08 -07:00
cpu-hotplug tools: selftests - create a separate hotplug target for full range test 2014-07-11 18:13:06 -07:00
efivarfs
exec syscalls: add selftest for execveat(2) 2014-12-13 12:42:51 -08:00
firmware test: add firmware_class loader test 2014-07-17 18:44:19 -07:00
ftrace ftracetest: Add --verbose option for showing echo output 2014-12-04 10:40:34 -05:00
ipc selftests/ipc: change test to use ksft framework 2014-11-17 10:39:15 -07:00
kcmp selftests/kcmp: Always try to build the test 2014-12-02 13:53:24 -07:00
memfd selftests/memfd: Run test on all architectures 2014-09-17 08:00:16 -06:00
memory-hotplug tools: selftests - create a separate hotplug target for full range test 2014-07-11 18:13:06 -07:00
mount userns: Unbreak the unprivileged remount tests 2014-12-11 18:07:07 -06:00
mqueue tools: Fix mqueue Makefile compile linking order 2014-07-11 18:11:18 -07:00
net kselftest updates for 3.19-rc1 2014-12-16 13:15:12 -08:00
powerpc selftests/powerpc: Add test of load_unaligned_zero_pad() 2014-09-30 14:59:12 +10:00
ptrace tools/testing/selftests/ptrace/peeksiginfo.c: add PAGE_SIZE definition 2014-08-08 15:57:25 -07:00
rcutorture rcutorture: Issue warnings on close calls due to Reader Batch blows 2015-01-10 19:07:46 -08:00
size selftest: size: Add size test for Linux kernel 2014-12-03 19:27:47 -07:00
sysctl tools/testing/selftests/sysctl: validate sysctl_writes_strict 2014-06-06 16:08:13 -07:00
timers selftests/timers: change test to use ksft framework 2014-11-17 10:39:30 -07:00
user selftests/user: move test out of Makefile into a shell script 2014-11-17 10:05:35 -07:00
vm selftests/vm/transhuge-stress: stress test for memory compaction 2014-10-09 22:26:01 -04:00
kselftest.h selftests: add kselftest framework for uniform test reporting 2014-11-17 10:38:56 -07:00
Makefile tools/testing/selftests/Makefile: alphasort the TARGETS list 2014-12-18 19:08:11 -08:00