mirror of https://gitee.com/openkylin/linux.git
rcu: prevent console flood when one CPU sees another AWOL via RCU
One small change needed to keep from flooding the console when one CPU notices that another is AWOL. Unless I am missing something subtle. Otherwise the cleanups look good! Signed-off-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com> Signed-off-by: Ingo Molnar <mingo@elte.hu>
This commit is contained in:
parent
78635fc739
commit
293a17ebc9
|
@ -308,6 +308,7 @@ static void print_other_cpu_stall(struct rcu_ctrlblk *rcp)
|
||||||
spin_unlock(&rcp->lock);
|
spin_unlock(&rcp->lock);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
rcp->gp_check = get_seconds() + 30;
|
||||||
spin_unlock(&rcp->lock);
|
spin_unlock(&rcp->lock);
|
||||||
|
|
||||||
/* OK, time to rat on our buddy... */
|
/* OK, time to rat on our buddy... */
|
||||||
|
|
Loading…
Reference in New Issue