From: Paul E. McKenney Date: Wed, 13 Aug 2008 00:25:03 +0000 (-0700) Subject: rcu: prevent console flood when one CPU sees another AWOL via RCU X-Git-Tag: v2.6.28-rc1~723^2~19 X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=293a17ebc944c958e24e6ffbd1d5a49abdbf489e;p=karo-tx-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 Signed-off-by: Ingo Molnar --- diff --git a/kernel/rcuclassic.c b/kernel/rcuclassic.c index 56b8712fe5aa..dab2676d9d72 100644 --- a/kernel/rcuclassic.c +++ b/kernel/rcuclassic.c @@ -308,6 +308,7 @@ static void print_other_cpu_stall(struct rcu_ctrlblk *rcp) spin_unlock(&rcp->lock); return; } + rcp->gp_check = get_seconds() + 30; spin_unlock(&rcp->lock); /* OK, time to rat on our buddy... */