]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
rcu: Add rcu_pointer_handoff()
authorPaul E. McKenney <paulmck@linux.vnet.ibm.com>
Thu, 10 Sep 2015 23:29:02 +0000 (16:29 -0700)
committerPaul E. McKenney <paulmck@linux.vnet.ibm.com>
Tue, 6 Oct 2015 18:16:18 +0000 (11:16 -0700)
commitc3ac7cf1847a4e68c909984f60d36adef2088e35
tree42da217639fb90fe4e453ba88c7f809a8d05572b
parentc34d2f418485a5d710bc002e490148b8ea53f456
rcu: Add rcu_pointer_handoff()

This commit adds an rcu_pointer_handoff() that is intended to mark
situations where a structure's protection transitions from RCU to some
other mechanism (locking, reference counting, whatever).  These markings
should allow external tools to more easily spot bugs involving leaking
pointers out of RCU read-side critical sections.

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