]> Git Repo - linux.git/commit
rcu: Fix comparison sense in rcu_needs_cpu()
authorPaul E. McKenney <[email protected]>
Mon, 13 May 2013 13:53:37 +0000 (06:53 -0700)
committerPaul E. McKenney <[email protected]>
Tue, 14 May 2013 17:53:41 +0000 (10:53 -0700)
commit6faf72834d9d0c0dc6632604eaeffb621e87fcf9
treef72dcd0bfd3b3a43852fd745d580faff6d520141
parentf722406faae2d073cc1d01063d1123c35425939e
rcu: Fix comparison sense in rcu_needs_cpu()

Commit c0f4dfd4f (rcu: Make RCU_FAST_NO_HZ take advantage of numbered
callbacks) introduced a bug that can result in excessively long grace
periods.  This bug reverse the senes of the "if" statement checking
for lazy callbacks, so that RCU takes a lazy approach when there are
in fact non-lazy callbacks.  This can result in excessive boot, suspend,
and resume times.

This commit therefore fixes the sense of this "if" statement.

Reported-by: Borislav Petkov <[email protected]>
Reported-by: Bjørn Mork <[email protected]>
Reported-by: Joerg Roedel <[email protected]>
Signed-off-by: Paul E. McKenney <[email protected]>
Tested-by: Bjørn Mork <[email protected]>
Tested-by: Joerg Roedel <[email protected]>
kernel/rcutree_plugin.h
This page took 0.051657 seconds and 4 git commands to generate.