percpu: READ_ONCE() now implies smp_read_barrier_depends()
authorPaul E. McKenney <paulmck@linux.vnet.ibm.com>
Mon, 9 Oct 2017 17:20:44 +0000 (10:20 -0700)
committerPaul E. McKenney <paulmck@linux.vnet.ibm.com>
Mon, 4 Dec 2017 18:52:53 +0000 (10:52 -0800)
commitb393e8b33efd2ee08576ceddc10c2b4bfb3b5435
tree1e0f9f3aa01484a8c815812f14e0f5a4c6890526
parent7088efa9137a15d7d21e3abce73e40c9c8a18d68
percpu: READ_ONCE() now implies smp_read_barrier_depends()

Because READ_ONCE() now implies smp_read_barrier_depends(), this commit
removes the now-redundant smp_read_barrier_depends() following the
READ_ONCE() in __ref_is_percpu().

Signed-off-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com>
Acked-by: Tejun Heo <tj@kernel.org>
Cc: Christoph Lameter <cl@linux.com>
include/linux/percpu-refcount.h
lib/percpu-refcount.c