Documentation/sysctl: document max_rcu_stall_to_panic
authorJoel Savitz <jsavitz@redhat.com>
Thu, 24 Mar 2022 22:11:56 +0000 (18:11 -0400)
committerJonathan Corbet <corbet@lwn.net>
Sun, 1 May 2022 23:14:09 +0000 (17:14 -0600)
commit dfe564045c65 ("rcu: Panic after fixed number of stalls")
introduced a new systctl but no accompanying documentation.

Add a simple entry to the documentation.

Signed-off-by: Joel Savitz <jsavitz@redhat.com>
Acked-by: Paul E. McKenney <paulmck@kernel.org>
Signed-off-by: Jonathan Corbet <corbet@lwn.net>
Documentation/admin-guide/sysctl/kernel.rst

index 1144ea3..545d2d7 100644 (file)
@@ -783,6 +783,13 @@ is useful to define the root cause of RCU stalls using a vmcore.
 1 panic() after printing RCU stall messages.
 = ============================================================
 
+max_rcu_stall_to_panic
+======================
+
+When ``panic_on_rcu_stall`` is set to 1, this value determines the
+number of times that RCU can stall before panic() is called.
+
+When ``panic_on_rcu_stall`` is set to 0, this value is has no effect.
 
 perf_cpu_time_max_percent
 =========================