]> 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>
Tue, 6 Sep 2011 18:27:06 +0000 (11:27 -0700)
commitd5623ea85673fa0b8569a175fb77bfbd90d6f5f2
tree7f0be2e1df7eb5339df2adb986b99326e3fca472
parent9e64da60591bd331551faa2b1ee4cbff660e9aa4
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