diff options
author | Paul E. McKenney <paulmck@linux.vnet.ibm.com> | 2014-08-19 00:12:17 -0400 |
---|---|---|
committer | Paul E. McKenney <paulmck@linux.vnet.ibm.com> | 2014-09-07 19:24:48 -0400 |
commit | 38706bc5a29a73645e512c06ffb759fb56259d83 (patch) | |
tree | 1bdc7a71e1f1b0b7be46c139c2673bb05dd90cb4 /Documentation/kernel-parameters.txt | |
parent | eea203fea3484598280a07fe503e025e886297fb (diff) |
rcutorture: Add callback-flood test
Although RCU is designed to handle arbitrary floods of callbacks, this
capability is not routinely tested. This commit therefore adds a
cbflood capability in which kthreads repeatedly registers large numbers
of callbacks. One such kthread is created for each four CPUs (rounding
up), and the test may be controlled by several cbflood_* kernel boot
parameters, which control the number of bursts per flood, the number
of callbacks per burst, the time between bursts, and the time between
floods. The default values are large enough to exercise RCU's emergency
responses to callback flooding.
Signed-off-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com>
Cc: David Miller <davem@davemloft.net>
Reviewed-by: Pranith Kumar <bobby.prani@gmail.com>
Diffstat (limited to 'Documentation/kernel-parameters.txt')
-rw-r--r-- | Documentation/kernel-parameters.txt | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/Documentation/kernel-parameters.txt b/Documentation/kernel-parameters.txt index 5ae8608ca9f5..0a104be4ad86 100644 --- a/Documentation/kernel-parameters.txt +++ b/Documentation/kernel-parameters.txt | |||
@@ -2881,6 +2881,24 @@ bytes respectively. Such letter suffixes can also be entirely omitted. | |||
2881 | Lazy RCU callbacks are those which RCU can | 2881 | Lazy RCU callbacks are those which RCU can |
2882 | prove do nothing more than free memory. | 2882 | prove do nothing more than free memory. |
2883 | 2883 | ||
2884 | rcutorture.cbflood_inter_holdoff= [KNL] | ||
2885 | Set holdoff time (jiffies) between successive | ||
2886 | callback-flood tests. | ||
2887 | |||
2888 | rcutorture.cbflood_intra_holdoff= [KNL] | ||
2889 | Set holdoff time (jiffies) between successive | ||
2890 | bursts of callbacks within a given callback-flood | ||
2891 | test. | ||
2892 | |||
2893 | rcutorture.cbflood_n_burst= [KNL] | ||
2894 | Set the number of bursts making up a given | ||
2895 | callback-flood test. Set this to zero to | ||
2896 | disable callback-flood testing. | ||
2897 | |||
2898 | rcutorture.cbflood_n_per_burst= [KNL] | ||
2899 | Set the number of callbacks to be registered | ||
2900 | in a given burst of a callback-flood test. | ||
2901 | |||
2884 | rcutorture.fqs_duration= [KNL] | 2902 | rcutorture.fqs_duration= [KNL] |
2885 | Set duration of force_quiescent_state bursts. | 2903 | Set duration of force_quiescent_state bursts. |
2886 | 2904 | ||