]> 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>
Wed, 9 Jul 2014 16:14:35 +0000 (09:14 -0700)
commit4da117cfa72e6cde3d9e8f5ed932381863cdeec9
tree4237aebb9bb34f6599904396d69a9818e8587b17
parentb4426b49c65e0d266f8a9181ca51d5bf11407714
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>
Acked-by: Frederic Weisbecker <fweisbec@gmail.com>
Reviewed-by: Lai Jiangshan <laijs@cn.fujitsu.com>
kernel/rcu/tree_plugin.h