aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Documentation/RCU/torture.txt12
-rw-r--r--kernel/rcutorture.c2
2 files changed, 12 insertions, 2 deletions
diff --git a/Documentation/RCU/torture.txt b/Documentation/RCU/torture.txt
index e4c38152f7f7..d896685a9100 100644
--- a/Documentation/RCU/torture.txt
+++ b/Documentation/RCU/torture.txt
@@ -35,6 +35,15 @@ stat_interval The number of seconds between output of torture
35 be printed -only- when the module is unloaded, and this 35 be printed -only- when the module is unloaded, and this
36 is the default. 36 is the default.
37 37
38shuffle_interval
39 The number of seconds to keep the test threads affinitied
40 to a particular subset of the CPUs. Used in conjunction
41 with test_no_idle_hz.
42
43test_no_idle_hz Whether or not to test the ability of RCU to operate in
44 a kernel that disables the scheduling-clock interrupt to
45 idle CPUs. Boolean parameter, "1" to test, "0" otherwise.
46
38verbose Enable debug printk()s. Default is disabled. 47verbose Enable debug printk()s. Default is disabled.
39 48
40 49
@@ -119,4 +128,5 @@ The following script may be used to torture RCU:
119 128
120The output can be manually inspected for the error flag of "!!!". 129The output can be manually inspected for the error flag of "!!!".
121One could of course create a more elaborate script that automatically 130One could of course create a more elaborate script that automatically
122checked for such errors. 131checked for such errors. The "rmmod" command forces a "SUCCESS" or
132"FAILURE" indication to be printk()ed.
diff --git a/kernel/rcutorture.c b/kernel/rcutorture.c
index 8154e7589d12..2a65bd8a3d10 100644
--- a/kernel/rcutorture.c
+++ b/kernel/rcutorture.c
@@ -1,5 +1,5 @@
1/* 1/*
2 * Read-Copy Update /proc-based torture test facility 2 * Read-Copy Update module-based torture test facility
3 * 3 *
4 * This program is free software; you can redistribute it and/or modify 4 * This program is free software; you can redistribute it and/or modify
5 * it under the terms of the GNU General Public License as published by 5 * it under the terms of the GNU General Public License as published by