diff options
author | Paul E. McKenney <paulmck@linux.vnet.ibm.com> | 2013-08-22 18:16:16 -0700 |
---|---|---|
committer | Paul E. McKenney <paulmck@linux.vnet.ibm.com> | 2013-09-25 06:44:03 -0700 |
commit | 7a497c963eceac42677ce1f5d7bb470abedd15f4 (patch) | |
tree | 370bd8bf6ef09ad443e8a626a0ddf2cf8d0f219f /scripts/patch-kernel | |
parent | 272b98c6455f00884f0350f775c5342358ebb73f (diff) |
rcu: Remove redundant code from rcu_cleanup_after_idle()
The rcu_try_advance_all_cbs() function returns a bool saying whether or
not there are callbacks ready to invoke, but rcu_cleanup_after_idle()
rechecks this regardless. This commit therefore uses the value returned
by rcu_try_advance_all_cbs() instead of making rcu_cleanup_after_idle()
do this recheck.
Reported-by: Tibor Billes <tbilles@gmx.com>
Signed-off-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com>
Tested-by: Tibor Billes <tbilles@gmx.com>
Reviewed-by: Josh Triplett <josh@joshtriplett.org>
Diffstat (limited to 'scripts/patch-kernel')
0 files changed, 0 insertions, 0 deletions