summaryrefslogtreecommitdiff
path: root/kernel/dma.c
diff options
context:
space:
mode:
authorPeter Zijlstra <peterz@infradead.org>2015-10-08 10:24:23 (GMT)
committerPaul E. McKenney <paulmck@linux.vnet.ibm.com>2015-11-23 18:37:35 (GMT)
commit2a67e741bbbc022e0fadf8c6dbc3a76019ecd0cf (patch)
tree2f06a10ebf9f27272f6de99b0da5c19c5bdde6f6 /kernel/dma.c
parent1ec218373b8ebda821aec00bb156a9c94fad9cd4 (diff)
downloadlinux-2a67e741bbbc022e0fadf8c6dbc3a76019ecd0cf.tar.xz
rcu: Create transitive rnp->lock acquisition functions
Providing RCU's memory-ordering guarantees requires that the rcu_node tree's locking provide transitive memory ordering, which the Linux kernel's spinlocks currently do not provide unless smp_mb__after_unlock_lock() is used. Having a separate smp_mb__after_unlock_lock() after each and every lock acquisition is error-prone, hard to read, and a bit annoying, so this commit provides wrapper functions that pull in the smp_mb__after_unlock_lock() invocations. Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org> Signed-off-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com>
Diffstat (limited to 'kernel/dma.c')
0 files changed, 0 insertions, 0 deletions