]> git.baikalelectronics.ru Git - kernel.git/commit
rcu: Explicitly initialize RCU_FAST_NO_HZ per-CPU variables
authorPaul E. McKenney <paul.mckenney@linaro.org>
Thu, 3 May 2012 22:38:10 +0000 (15:38 -0700)
committerPaul E. McKenney <paulmck@linux.vnet.ibm.com>
Wed, 9 May 2012 21:26:57 +0000 (14:26 -0700)
commit0f4d94564c7d1d125b2357ee490c69bc07e7b5f8
tree5ec88465d949558e42e83fd8321c725614c00269
parentd9494342baffbcf45e326e77188718ee189ccba3
rcu: Explicitly initialize RCU_FAST_NO_HZ per-CPU variables

The current initialization of the RCU_FAST_NO_HZ per-CPU variables makes
needless and fragile assumptions about the initial value of things like
the jiffies counter.  This commit therefore explicitly initializes all of
them that are better started with a non-zero value.  It also adds some
comments describing the per-CPU state variables.

Signed-off-by: Paul E. McKenney <paul.mckenney@linaro.org>
Signed-off-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com>
kernel/rcutree_plugin.h