Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 9251fbbf authored by Kyle Yan's avatar Kyle Yan Committed by Gerrit - the friendly Code Review server
Browse files

Merge "kernel: rcu: Panic on RCU stall" into msm-4.9

parents 4f75037c 2eada807
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -124,7 +124,7 @@ int rcu_num_lvls __read_mostly = RCU_NUM_LVLS;
static int num_rcu_lvl[] = NUM_RCU_LVL_INIT;
int rcu_num_nodes __read_mostly = NUM_RCU_NODES; /* Total # rcu_nodes in use. */
/* 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;

/*
 * The rcu_scheduler_active variable is initialized to the value
+12 −0
Original line number Diff line number Diff line
@@ -1481,6 +1481,18 @@ 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