Loading kernel/rcu/Kconfig.debug +11 −0 Original line number Diff line number Diff line Loading @@ -57,6 +57,17 @@ config RCU_CPU_STALL_TIMEOUT RCU grace period persists, additional CPU stall warnings are printed at more widely spaced intervals. config RCU_PANIC_ON_STALL int "Panic on RCU Stalls" range 0 1 default 0 depends on RCU_STALL_COMMON help Panic if a given RCU grace period extends more than the specified number of seconds instead of just printing a CPU stall warning. This helps to collect cpu context as part of ramdumps for post mortem analysis. config RCU_TRACE bool "Enable tracing for RCU" depends on DEBUG_KERNEL Loading kernel/rcu/tree_stall.h +1 −1 Original line number Diff line number Diff line Loading @@ -12,7 +12,7 @@ // Controlling CPU stall warnings, including delay calculation. /* panic() on RCU Stall sysctl. */ int sysctl_panic_on_rcu_stall __read_mostly; int sysctl_panic_on_rcu_stall __read_mostly = CONFIG_RCU_PANIC_ON_STALL; #ifdef CONFIG_PROVE_RCU #define RCU_STALL_DELAY_DELTA (5 * HZ) Loading Loading
kernel/rcu/Kconfig.debug +11 −0 Original line number Diff line number Diff line Loading @@ -57,6 +57,17 @@ config RCU_CPU_STALL_TIMEOUT RCU grace period persists, additional CPU stall warnings are printed at more widely spaced intervals. config RCU_PANIC_ON_STALL int "Panic on RCU Stalls" range 0 1 default 0 depends on RCU_STALL_COMMON help Panic if a given RCU grace period extends more than the specified number of seconds instead of just printing a CPU stall warning. This helps to collect cpu context as part of ramdumps for post mortem analysis. config RCU_TRACE bool "Enable tracing for RCU" depends on DEBUG_KERNEL Loading
kernel/rcu/tree_stall.h +1 −1 Original line number Diff line number Diff line Loading @@ -12,7 +12,7 @@ // Controlling CPU stall warnings, including delay calculation. /* panic() on RCU Stall sysctl. */ int sysctl_panic_on_rcu_stall __read_mostly; int sysctl_panic_on_rcu_stall __read_mostly = CONFIG_RCU_PANIC_ON_STALL; #ifdef CONFIG_PROVE_RCU #define RCU_STALL_DELAY_DELTA (5 * HZ) Loading