diff options
author | Neeraj Upadhyay <neeraju@codeaurora.org> | 2017-08-07 11:20:10 +0530 |
---|---|---|
committer | Paul E. McKenney <paulmck@linux.vnet.ibm.com> | 2017-10-09 14:24:14 -0700 |
commit | 135bd1a230bb69a68c9808a7d25467318900b80a (patch) | |
tree | bb5fbf932d4ecb8e632ec4c4b9c4d8a9da385c36 /kernel/irq_work.c | |
parent | 8a5776a5f49812d29fe4b2d0a2d71675c3facf3f (diff) | |
download | talos-obmc-linux-135bd1a230bb69a68c9808a7d25467318900b80a.tar.gz talos-obmc-linux-135bd1a230bb69a68c9808a7d25467318900b80a.zip |
rcu: Fix up pending cbs check in rcu_prepare_for_idle
The pending-callbacks check in rcu_prepare_for_idle() is backwards.
It should accelerate if there are pending callbacks, but the check
rather uselessly accelerates only if there are no callbacks. This commit
therefore inverts this check.
Fixes: 15fecf89e46a ("srcu: Abstract multi-tail callback list handling")
Signed-off-by: Neeraj Upadhyay <neeraju@codeaurora.org>
Signed-off-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com>
Cc: <stable@vger.kernel.org> # 4.12.x
Diffstat (limited to 'kernel/irq_work.c')
0 files changed, 0 insertions, 0 deletions