summaryrefslogtreecommitdiffstats
path: root/kernel/cpu.c
diff options
context:
space:
mode:
authorPaul E. McKenney <paulmck@linux.vnet.ibm.com>2015-03-10 22:53:29 +0100
committerPaul E. McKenney <paulmck@linux.vnet.ibm.com>2015-05-27 21:58:38 +0200
commita738eec6c6082f48cbcf0157fd9f550e286ea04b (patch)
treef0f8d12b0ab020b7b9e182bca5c7fedd65f3c2c6 /kernel/cpu.c
parentrcu: Remove redundant offline check (diff)
downloadlinux-a738eec6c6082f48cbcf0157fd9f550e286ea04b.tar.xz
linux-a738eec6c6082f48cbcf0157fd9f550e286ea04b.zip
rcu: Correctly initialize ->rcu_qs_ctr_snap at online time
The rcu_data structure's ->rcu_qs_ctr_snap field is initialized at CPU-online time from the current CPU's element of the per-CPU rcu_qs_ctr variable. Unfortunately, this is at CPU_UP_PREPARE time, so has nothing to do with the CPU being onlined. This commit therefore initializes this variable from the incoming CPU's element of rcu_qs_ctr. Signed-off-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com>
Diffstat (limited to 'kernel/cpu.c')
0 files changed, 0 insertions, 0 deletions