]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
rcu: Prevent early-boot RCU callbacks from splatting
authorPaul E. McKenney <paulmck@linux.vnet.ibm.com>
Tue, 20 Jan 2015 03:57:32 +0000 (19:57 -0800)
committerPaul E. McKenney <paulmck@linux.vnet.ibm.com>
Thu, 26 Feb 2015 20:01:28 +0000 (12:01 -0800)
commit143da9c2fc030a5774674f2ebc2f934fab3dcd9a
treeba3537cce8b630a56f47f99267cf8047205fd393
parent2723249a31a68ccc0ec8ac59a905d7f9430bf8f6
rcu: Prevent early-boot RCU callbacks from splatting

Currently, a call_rcu() that precedes rcu_init() will splat due to the
callback lists not having yet been initialized.  This commit causes the
first such callback to initialize the boot CPU's RCU callback list.

Note that this commit does not change rcu_init()-time initialization,
which means that the callback will be discarded at rcu_init() time.
Fixing this is the job of later commits.

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