rcu: Avoid clobbering early boot callbacks
authorPaul E. McKenney <paulmck@linux.vnet.ibm.com>
Wed, 21 Jan 2015 07:42:38 +0000 (23:42 -0800)
committerPaul E. McKenney <paulmck@linux.vnet.ibm.com>
Thu, 26 Feb 2015 20:01:30 +0000 (12:01 -0800)
commit39c8d313c3c546a414cc51b4f6571c2f8cc06407
tree0458ddbd0009594e20d0f5b3252395c73abe1836
parent59f792d1ef214592ae9b86238fa8fd00f5929b76
rcu: Avoid clobbering early boot callbacks

When a CPU comes online, it initializes its callback list.  This
is a bad thing if this is the first time that the CPU has come
online and if that CPU has early boot callbacks.  This commit therefore
avoid initializing the callback list if there are callbacks present,
in which case the initial call_rcu() did the initialization for us.

Signed-off-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com>
kernel/rcu/tree.c
This page took 0.024543 seconds and 5 git commands to generate.