diff options
-rw-r--r-- | Documentation/RCU/torture.txt | 12 | ||||
-rw-r--r-- | kernel/rcutorture.c | 2 |
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 | ||
38 | shuffle_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 | |||
43 | test_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 | |||
38 | verbose Enable debug printk()s. Default is disabled. | 47 | verbose 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 | ||
120 | The output can be manually inspected for the error flag of "!!!". | 129 | The output can be manually inspected for the error flag of "!!!". |
121 | One could of course create a more elaborate script that automatically | 130 | One could of course create a more elaborate script that automatically |
122 | checked for such errors. | 131 | checked 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 |