]> git.karo-electronics.de Git - linux-beck.git/commit
rcutorture: Replace barriers with smp_store_release() and smp_load_acquire()
authorPaul E. McKenney <paulmck@linux.vnet.ibm.com>
Mon, 13 Apr 2015 18:58:08 +0000 (11:58 -0700)
committerPaul E. McKenney <paulmck@linux.vnet.ibm.com>
Wed, 27 May 2015 19:59:58 +0000 (12:59 -0700)
commit6c7ed42c81a2d9a7e0646240599552040375fa02
tree46e7968fe0752820a4a6af624ebc169749738ae0
parent61d49d2f9888ace06ab127cf6f063bed7c3b2e53
rcutorture: Replace barriers with smp_store_release() and smp_load_acquire()

The rcutorture.c file uses several explicit memory barriers that can
easily be converted to smp_store_release() and smp_load_acquire(), which
improves maintainability and also improves performance a bit.

Signed-off-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com>
Reviewed-by: Josh Triplett <josh@joshtriplett.org>
kernel/rcu/rcutorture.c