Loading kernel/rcu/tree.c +1 −1 Original line number Diff line number Diff line Loading @@ -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 Loading lib/Kconfig.debug +12 −0 Original line number Diff line number Diff line Loading @@ -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 Loading Loading
kernel/rcu/tree.c +1 −1 Original line number Diff line number Diff line Loading @@ -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 Loading
lib/Kconfig.debug +12 −0 Original line number Diff line number Diff line Loading @@ -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 Loading