aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPaul E. McKenney <paul.mckenney@linaro.org>2011-05-02 06:46:10 -0400
committerPaul E. McKenney <paulmck@linux.vnet.ibm.com>2011-05-06 02:16:56 -0400
commita9f4793d8900dc5dc09b3951bdcd4731290e06fe (patch)
tree8e3247ed961e8255b4d7e1c1b4dd13ffb361d4d4
parent90e6ac3657fd3b0446d585082000af3cf46439a7 (diff)
rcu: fix tracing bug thinko on boost-balk attribution
The rcu_initiate_boost_trace() function mis-attributed refusals to initiate RCU priority boosting that were in fact due to its not yet being time to boost. This patch fixes the faulty comparison. Signed-off-by: Paul E. McKenney <paul.mckenney@linaro.org> Signed-off-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com>
-rw-r--r--kernel/rcutree_plugin.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/rcutree_plugin.h b/kernel/rcutree_plugin.h
index 22a6a46de7c6..a21413d0581d 100644
--- a/kernel/rcutree_plugin.h
+++ b/kernel/rcutree_plugin.h
@@ -1086,7 +1086,7 @@ static void rcu_initiate_boost_trace(struct rcu_node *rnp)
1086 else if (rnp->gp_tasks != NULL && rnp->qsmask != 0) 1086 else if (rnp->gp_tasks != NULL && rnp->qsmask != 0)
1087 rnp->n_balk_notblocked++; 1087 rnp->n_balk_notblocked++;
1088 else if (rnp->gp_tasks != NULL && 1088 else if (rnp->gp_tasks != NULL &&
1089 ULONG_CMP_GE(jiffies, rnp->boost_time)) 1089 ULONG_CMP_LT(jiffies, rnp->boost_time))
1090 rnp->n_balk_notyet++; 1090 rnp->n_balk_notyet++;
1091 else 1091 else
1092 rnp->n_balk_nos++; 1092 rnp->n_balk_nos++;