rcu: Warn when srcu_read_lock() is used in an extended quiescent state
authorPaul E. McKenney <paul.mckenney@linaro.org>
Fri, 7 Oct 2011 16:22:04 +0000 (18:22 +0200)
committerPaul E. McKenney <paulmck@linux.vnet.ibm.com>
Sun, 11 Dec 2011 18:31:33 +0000 (10:31 -0800)
commitff195cb69ba8d2af9b891be3a26db95fe1999d43
treeb7e3071e87e8abdf998d4d6200228ef1a9c906d6
parentd8ab29f8be918b34a1ccd174569a53f0eb04b0a5
rcu: Warn when srcu_read_lock() is used in an extended quiescent state

Catch SRCU up to the other variants of RCU by making PROVE_RCU
complain if either srcu_read_lock() or srcu_read_lock_held() are
used from within RCU-idle mode.

Frederic reworked this to allow for the new versions of his patches
that check for extended quiescent states.

Signed-off-by: Paul E. McKenney <paul.mckenney@linaro.org>
Signed-off-by: Frederic Weisbecker <fweisbec@gmail.com>
Signed-off-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com>
Reviewed-by: Josh Triplett <josh@joshtriplett.org>
include/linux/srcu.h