rcu: Add lockdep-RCU checks for simple self-deadlock
authorPaul E. McKenney <paulmck@linux.vnet.ibm.com>
Wed, 4 Jan 2012 21:30:33 +0000 (13:30 -0800)
committerPaul E. McKenney <paulmck@linux.vnet.ibm.com>
Tue, 21 Feb 2012 17:03:23 +0000 (09:03 -0800)
It is illegal to have a grace period within a same-flavor RCU read-side
critical section, so this commit adds lockdep-RCU checks to splat when
such abuse is encountered.  This commit does not detect more elaborate
RCU deadlock situations.  These situations might be a job for lockdep
enhancements.

Signed-off-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com>

No differences found