]> git.karo-electronics.de Git - linux-beck.git/commit
rcu: Remove ACCESS_ONCE() from jiffies
authorPaul E. McKenney <paulmck@linux.vnet.ibm.com>
Thu, 5 Dec 2013 02:42:03 +0000 (18:42 -0800)
committerPaul E. McKenney <paulmck@linux.vnet.ibm.com>
Mon, 17 Feb 2014 23:01:42 +0000 (15:01 -0800)
commitcb1e78cfa267453bb19e7edafd214c03834b664c
tree1211ed872c631b1cd71052cbd20e0ca89221cb51
parent87de1cfdc55b16b794e245b07322340725149d62
rcu: Remove ACCESS_ONCE() from jiffies

Because jiffies is one of a very few variables marked "volatile", there
is no need to use ACCESS_ONCE() when accessing it.  This commit therefore
removes the redundant ACCESS_ONCE() wrappers.

Reported by: Eric Dumazet <eric.dumazet@gmail.com>
Signed-off-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com>
Reviewed-by: Josh Triplett <josh@joshtriplett.org>
kernel/rcu/torture.c
kernel/rcu/tree.c