summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorPaul E. McKenney <paulmck@linux.vnet.ibm.com>2017-05-09 22:05:46 +0300
committerPaul E. McKenney <paulmck@linux.vnet.ibm.com>2017-06-09 04:52:37 +0300
commitbf32c76540257f9f5f2cf661dbdd8bb4a4bd8c82 (patch)
treeb18a1c7394024abc97c2d778125e9c471b7fce1e /include
parent5f192ab027a5d865be24c817005d42eb96314dc2 (diff)
downloadlinux-bf32c76540257f9f5f2cf661dbdd8bb4a4bd8c82.tar.xz
rcu: Convert rnp->lock wrappers to macros for SRCU use
Use of smp_mb__after_unlock_lock() would allow SRCU to omit a full memory barrier during callback execution, so this commit converts raw_spin_lock_rcu_node() from inline functions to type-generic macros to allow them to handle locks in srcu_node structures as well as rcu_node structures. Signed-off-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions