summaryrefslogtreecommitdiff
path: root/Documentation/admin-guide/kernel-parameters.txt
diff options
context:
space:
mode:
authorPaul E. McKenney <paulmck@kernel.org>2020-04-01 19:57:52 -0700
committerPaul E. McKenney <paulmck@kernel.org>2020-05-07 10:15:28 -0700
commit55b2dcf58700041d6f0b037a98619222c825f004 (patch)
treeda9dcfd0c5feda27e39ddedcdb3b8c514ff4936c /Documentation/admin-guide/kernel-parameters.txt
parentdf5916845dd6ee34ce40aaad5e7b61058720419c (diff)
downloadlwn-55b2dcf58700041d6f0b037a98619222c825f004.tar.gz
lwn-55b2dcf58700041d6f0b037a98619222c825f004.zip
rcu: Allow rcutorture to starve grace-period kthread
This commit provides an rcutorture.stall_gp_kthread module parameter to allow rcutorture to starve the grace-period kthread. This allows testing the code that detects such starvation. Signed-off-by: Paul E. McKenney <paulmck@kernel.org>
Diffstat (limited to 'Documentation/admin-guide/kernel-parameters.txt')
-rw-r--r--Documentation/admin-guide/kernel-parameters.txt7
1 files changed, 7 insertions, 0 deletions
diff --git a/Documentation/admin-guide/kernel-parameters.txt b/Documentation/admin-guide/kernel-parameters.txt
index ad12b39d641d..be94358a8ea8 100644
--- a/Documentation/admin-guide/kernel-parameters.txt
+++ b/Documentation/admin-guide/kernel-parameters.txt
@@ -4221,6 +4221,13 @@
rcutorture.stall_cpu_irqsoff= [KNL]
Disable interrupts while stalling if set.
+ rcutorture.stall_gp_kthread= [KNL]
+ Duration (s) of forced sleep within RCU
+ grace-period kthread to test RCU CPU stall
+ warnings, zero to disable. If both stall_cpu
+ and stall_gp_kthread are specified, the
+ kthread is starved first, then the CPU.
+
rcutorture.stat_interval= [KNL]
Time (s) between statistics printk()s.