OSDN Git Service

rcu: Fix backwards RCU_LOCKDEP_WARN() in synchronize_rcu_tasks()
authorPaul E. McKenney <paulmck@linux.vnet.ibm.com>
Tue, 30 Jun 2015 15:17:40 +0000 (08:17 -0700)
committerPaul E. McKenney <paulmck@linux.vnet.ibm.com>
Wed, 22 Jul 2015 22:27:33 +0000 (15:27 -0700)
commita76a9a485d730024a7cbd76efcd9c6eb46003829
tree356c3e8f06894f64c6917e434d6345cb2fe547c3
parentf78f5b90c4ffa559e400c3919a02236101f29f3f
rcu: Fix backwards RCU_LOCKDEP_WARN() in synchronize_rcu_tasks()

The RCU_LOCKDEP_WARN() in synchronize_rcu_tasks() triggers if the
scheduler is active, which is backwards.  This commit therefore
negates the test.

Reported-by: Ingo Molnar <mingo@kernel.org>
Signed-off-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com>
kernel/rcu/update.c