]> git.karo-electronics.de Git - karo-tx-linux.git/commit
rcu: remove redundant ACCESS_ONCE() from tick_do_timer_cpu
authorPaul E. McKenney <paulmck@linux.vnet.ibm.com>
Sat, 10 May 2014 01:06:51 +0000 (18:06 -0700)
committerPaul E. McKenney <paulmck@linux.vnet.ibm.com>
Thu, 26 Jun 2014 17:59:35 +0000 (10:59 -0700)
commit4ca2b785c27b8e91a2cf2273816346273f9ea478
treef84d5138f959f7e3d1bcd5c158703187960a4d6f
parent0b99d3975245fc4814df6af2e7107d8f5e5dbe78
rcu: remove redundant ACCESS_ONCE() from tick_do_timer_cpu

In kernels built with CONFIG_NO_HZ_FULL, tick_do_timer_cpu is constant
once boot completes.  Thus, there is no need to wrap it in ACCESS_ONCE()
in code that is built only when CONFIG_NO_HZ_FULL.  This commit therefore
removes the redundant ACCESS_ONCE().

Signed-off-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com>
kernel/rcu/tree_plugin.h