]> git.karo-electronics.de Git - linux-beck.git/commit
rcu: Check for idle-loop entry while in RCU read-side critical section
authorPaul E. McKenney <paul.mckenney@linaro.org>
Thu, 12 Jan 2012 21:08:18 +0000 (13:08 -0800)
committerPaul E. McKenney <paulmck@linux.vnet.ibm.com>
Tue, 21 Feb 2012 17:03:45 +0000 (09:03 -0800)
commitc44e2cddacc2cf299186bad5697d738ea19668b7
tree5346f0dbee43202bf4049e3cda955f3d0cf97cfb
parent30fbcc90b02187c55c57ff0ecf57cecbd487d694
rcu: Check for idle-loop entry while in RCU read-side critical section

The inner idle loop is an extended quiescent state for all flavors
of RCU, but there have been recent bug involving use of RCU read-side
primitives from within the idle loop.  Therefore, this commit enlists
lockdep-RCU to detect attempts to enter the inner idle loop while in
an RCU read-side critical section, emitting a lockdep-RCU splat if so.

Signed-off-by: Paul E. McKenney <paul.mckenney@linaro.org>
Signed-off-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com>
kernel/rcutree.c