diff options
Diffstat (limited to 'Documentation/RCU/torture.txt')
-rw-r--r-- | Documentation/RCU/torture.txt | 23 |
1 files changed, 14 insertions, 9 deletions
diff --git a/Documentation/RCU/torture.txt b/Documentation/RCU/torture.txt index 516527d4bc55..a342b6e1cc10 100644 --- a/Documentation/RCU/torture.txt +++ b/Documentation/RCU/torture.txt | |||
@@ -30,10 +30,10 @@ MODULE PARAMETERS | |||
30 | 30 | ||
31 | This module has the following parameters: | 31 | This module has the following parameters: |
32 | 32 | ||
33 | nreaders This is the number of RCU reading threads supported. | 33 | irqreaders Says to invoke RCU readers from irq level. This is currently |
34 | The default is twice the number of CPUs. Why twice? | 34 | done via timers. Defaults to "1" for variants of RCU that |
35 | To properly exercise RCU implementations with preemptible | 35 | permit this. (Or, more accurately, variants of RCU that do |
36 | read-side critical sections. | 36 | -not- permit this know to ignore this variable.) |
37 | 37 | ||
38 | nfakewriters This is the number of RCU fake writer threads to run. Fake | 38 | nfakewriters This is the number of RCU fake writer threads to run. Fake |
39 | writer threads repeatedly use the synchronous "wait for | 39 | writer threads repeatedly use the synchronous "wait for |
@@ -44,6 +44,16 @@ nfakewriters This is the number of RCU fake writer threads to run. Fake | |||
44 | to trigger special cases caused by multiple writers, such as | 44 | to trigger special cases caused by multiple writers, such as |
45 | the synchronize_srcu() early return optimization. | 45 | the synchronize_srcu() early return optimization. |
46 | 46 | ||
47 | nreaders This is the number of RCU reading threads supported. | ||
48 | The default is twice the number of CPUs. Why twice? | ||
49 | To properly exercise RCU implementations with preemptible | ||
50 | read-side critical sections. | ||
51 | |||
52 | shuffle_interval | ||
53 | The number of seconds to keep the test threads affinitied | ||
54 | to a particular subset of the CPUs, defaults to 3 seconds. | ||
55 | Used in conjunction with test_no_idle_hz. | ||
56 | |||
47 | stat_interval The number of seconds between output of torture | 57 | stat_interval The number of seconds between output of torture |
48 | statistics (via printk()). Regardless of the interval, | 58 | statistics (via printk()). Regardless of the interval, |
49 | statistics are printed when the module is unloaded. | 59 | statistics are printed when the module is unloaded. |
@@ -51,11 +61,6 @@ stat_interval The number of seconds between output of torture | |||
51 | be printed -only- when the module is unloaded, and this | 61 | be printed -only- when the module is unloaded, and this |
52 | is the default. | 62 | is the default. |
53 | 63 | ||
54 | shuffle_interval | ||
55 | The number of seconds to keep the test threads affinitied | ||
56 | to a particular subset of the CPUs, defaults to 3 seconds. | ||
57 | Used in conjunction with test_no_idle_hz. | ||
58 | |||
59 | stutter The length of time to run the test before pausing for this | 64 | stutter The length of time to run the test before pausing for this |
60 | same period of time. Defaults to "stutter=5", so as | 65 | same period of time. Defaults to "stutter=5", so as |
61 | to run and pause for (roughly) five-second intervals. | 66 | to run and pause for (roughly) five-second intervals. |