aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/kernel.h
diff options
context:
space:
mode:
authorchao <chao@eero.com>2020-08-30 23:41:17 -0700
committerPaul E. McKenney <paulmck@kernel.org>2020-11-19 19:37:16 -0800
commitdfe564045c653d9e6969ccca57a8a04771d333f7 (patch)
tree7131af1630ff2c254d7304dc5f835765f486f379 /include/linux/kernel.h
parentx86/smpboot: Move rcu_cpu_starting() earlier (diff)
downloadlinux-dev-dfe564045c653d9e6969ccca57a8a04771d333f7.tar.xz
linux-dev-dfe564045c653d9e6969ccca57a8a04771d333f7.zip
rcu: Panic after fixed number of stalls
Some stalls are transient, so that system fully recovers. This commit therefore allows users to configure the number of stalls that must happen in order to trigger kernel panic. Signed-off-by: chao <chao@eero.com> Signed-off-by: Paul E. McKenney <paulmck@kernel.org>
Diffstat (limited to 'include/linux/kernel.h')
-rw-r--r--include/linux/kernel.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/kernel.h b/include/linux/kernel.h
index 2f05e9128201..4b5fd3da5fe8 100644
--- a/include/linux/kernel.h
+++ b/include/linux/kernel.h
@@ -536,6 +536,7 @@ extern int panic_on_warn;
extern unsigned long panic_on_taint;
extern bool panic_on_taint_nousertaint;
extern int sysctl_panic_on_rcu_stall;
+extern int sysctl_max_rcu_stall_to_panic;
extern int sysctl_panic_on_stackoverflow;
extern bool crash_kexec_post_notifiers;