mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-09 13:49:24 -04:00
Merge "kernel: rcu: Panic on RCU stall"
This commit is contained in:
commit
8e9118fc64
2 changed files with 12 additions and 1 deletions
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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…
Reference in a new issue