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)
commitfe15d706cfc1cb321dbe2329b04b5ca185edff60
treebec14ab52167f4f0210e8c207c93922c8270402f
parent18fec7d8758dd416904da205375e6fa667defc80
rcu: Add lockdep-RCU checks for simple self-deadlock

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>
kernel/rcutiny.c
kernel/rcutiny_plugin.h
kernel/rcutree.c
kernel/rcutree_plugin.h
kernel/srcu.c
This page took 0.030421 seconds and 5 git commands to generate.