]> git.karo-electronics.de Git - karo-tx-linux.git/commit
rcu: Prohibit grace periods during early boot
authorPaul E. McKenney <paul.mckenney@linaro.org>
Mon, 8 Aug 2011 03:26:31 +0000 (20:26 -0700)
committerPaul E. McKenney <paulmck@linux.vnet.ibm.com>
Wed, 10 Aug 2011 02:28:46 +0000 (19:28 -0700)
commit0697a6c28e520ef4ce3ce9b7532e4374d47be90c
tree179013f3f254180120c1e768c8a1e09c7b83d636
parent18062063177bf3c44b660a0842e1483e17566366
rcu: Prohibit grace periods during early boot

Greater use of RCU during early boot (before the scheduler is operating)
is causing RCU to attempt to start grace periods during that time, which
in turn is resulting in both RCU and the callback functions attempting
to use the scheduler before it is ready.

This commit prevents these problems by prohibiting RCU grace periods
until after the scheduler has spawned the first non-idle task.

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