diff options
author | Paul E. McKenney <paul.mckenney@linaro.org> | 2011-05-02 12:46:10 +0200 |
---|---|---|
committer | Paul E. McKenney <paulmck@linux.vnet.ibm.com> | 2011-05-06 08:16:56 +0200 |
commit | a9f4793d8900dc5dc09b3951bdcd4731290e06fe (patch) | |
tree | 8e3247ed961e8255b4d7e1c1b4dd13ffb361d4d4 /kernel/rcutree_plugin.h | |
parent | rcu: update tracing documentation for new rcutorture and rcuboost (diff) | |
download | linux-a9f4793d8900dc5dc09b3951bdcd4731290e06fe.tar.xz linux-a9f4793d8900dc5dc09b3951bdcd4731290e06fe.zip |
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>
Diffstat (limited to 'kernel/rcutree_plugin.h')
-rw-r--r-- | kernel/rcutree_plugin.h | 2 |
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) else if (rnp->gp_tasks != NULL && rnp->qsmask != 0) rnp->n_balk_notblocked++; else if (rnp->gp_tasks != NULL && - ULONG_CMP_GE(jiffies, rnp->boost_time)) + ULONG_CMP_LT(jiffies, rnp->boost_time)) rnp->n_balk_notyet++; else rnp->n_balk_nos++; |