rcu: prevent console flood when one CPU sees another AWOL via RCU
authorPaul E. McKenney <paulmck@linux.vnet.ibm.com>
Wed, 13 Aug 2008 00:25:03 +0000 (17:25 -0700)
committerIngo Molnar <mingo@elte.hu>
Fri, 15 Aug 2008 13:08:58 +0000 (15:08 +0200)
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>
kernel/rcuclassic.c

index 56b8712fe5aa3bbe1a431deaf98af9808ea81c9b..dab2676d9d72fd11bbfcb14d11e8d317b21fa0f7 100644 (file)
@@ -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... */