diff options
author | Paul E. McKenney <paul.mckenney@linaro.org> | 2011-05-02 03:46:10 -0700 |
---|---|---|
committer | Paul E. McKenney <paulmck@linux.vnet.ibm.com> | 2011-05-05 23:16:56 -0700 |
commit | a9f4793d8900dc5dc09b3951bdcd4731290e06fe (patch) | |
tree | 8e3247ed961e8255b4d7e1c1b4dd13ffb361d4d4 /kernel/rcutree_plugin.h | |
parent | 90e6ac3657fd3b0446d585082000af3cf46439a7 (diff) | |
download | linux-a9f4793d8900dc5dc09b3951bdcd4731290e06fe.tar.gz linux-a9f4793d8900dc5dc09b3951bdcd4731290e06fe.tar.bz2 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++; |