]> git.baikalelectronics.ru Git - kernel.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)
commit1457930eefde64b36ae3672375a0640aceeaa958
tree42da217639fb90fe4e453ba88c7f809a8d05572b
parent2f1b46055aa71f202712a56017550f22a43256b3
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