summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPaul E. McKenney <paulmck@linux.vnet.ibm.com>2008-08-12 17:25:03 -0700
committerIngo Molnar <mingo@elte.hu>2008-08-15 15:08:58 +0200
commit293a17ebc944c958e24e6ffbd1d5a49abdbf489e (patch)
tree56f0b15d3bdaa4a86fea8a9dd305b18976e15a78
parent78635fc739b1254f3e0362ac430edbdd2cff01dc (diff)
downloadlinux-293a17ebc944c958e24e6ffbd1d5a49abdbf489e.tar.bz2
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>
-rw-r--r--kernel/rcuclassic.c1
1 files changed, 1 insertions, 0 deletions
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... */