commit | c3ac7cf1847a4e68c909984f60d36adef2088e35 | [log] [tgz] |
---|---|---|
author | Paul E. McKenney <paulmck@linux.vnet.ibm.com> | Thu Sep 10 16:29:02 2015 -0700 |
committer | Paul E. McKenney <paulmck@linux.vnet.ibm.com> | Tue Oct 06 11:16:18 2015 -0700 |
tree | 42da217639fb90fe4e453ba88c7f809a8d05572b | |
parent | c34d2f418485a5d710bc002e490148b8ea53f456 [diff] |
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>