mirror of
https://github.com/torvalds/linux.git
synced 2026-06-08 14:42:37 +02:00
rcu: add rcu_stall_notifier_list
Signed-off-by: Huibin Hong <huibin.hong@rock-chips.com> Change-Id: I53a22745174bdab77baee65cf6586402a54fe1da
This commit is contained in:
parent
d851edc401
commit
012bd50682
|
|
@ -15,6 +15,7 @@
|
|||
|
||||
/* panic() on RCU Stall sysctl. */
|
||||
int sysctl_panic_on_rcu_stall __read_mostly;
|
||||
ATOMIC_NOTIFIER_HEAD(rcu_stall_notifier_list);
|
||||
|
||||
#ifdef CONFIG_PROVE_RCU
|
||||
#define RCU_STALL_DELAY_DELTA (5 * HZ)
|
||||
|
|
@ -535,6 +536,8 @@ static void print_other_cpu_stall(unsigned long gp_seq, unsigned long gps)
|
|||
|
||||
rcu_check_gp_kthread_starvation();
|
||||
|
||||
atomic_notifier_call_chain(&rcu_stall_notifier_list, 0, NULL);
|
||||
|
||||
panic_on_rcu_stall();
|
||||
|
||||
rcu_force_quiescent_state(); /* Kick them all. */
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user