]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/commit - Documentation/memory-barriers.txt
rcu,locking: Privatize smp_mb__after_unlock_lock()
authorPaul E. McKenney <paulmck@linux.vnet.ibm.com>
Wed, 15 Jul 2015 01:35:23 +0000 (18:35 -0700)
committerPaul E. McKenney <paulmck@linux.vnet.ibm.com>
Tue, 4 Aug 2015 15:49:21 +0000 (08:49 -0700)
commit12d560f4ea87030667438a169912380be00cea4b
tree3b60a7b97e849bd68573db48dd8608cb43f05694
parent3dbe43f6fba9f2a0e46e371733575a45704c22ab
rcu,locking: Privatize smp_mb__after_unlock_lock()

RCU is the only thing that uses smp_mb__after_unlock_lock(), and is
likely the only thing that ever will use it, so this commit makes this
macro private to RCU.

Signed-off-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com>
Cc: Will Deacon <will.deacon@arm.com>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Cc: "linux-arch@vger.kernel.org" <linux-arch@vger.kernel.org>
Documentation/memory-barriers.txt
arch/powerpc/include/asm/spinlock.h
include/linux/spinlock.h
kernel/rcu/tree.h