Re: [PATCH tip/core/rcu 38/55] rcu: Prohibit grace periods duringearly boot

From: Josh Triplett
Date: Sun Oct 16 2011 - 21:51:19 EST


On Tue, Sep 06, 2011 at 11:00:32AM -0700, Paul E. McKenney wrote:
> From: Paul E. McKenney <paul.mckenney@xxxxxxxxxx>
>
> 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.

As with patch 36, this seems like a good candidate for jump labels.

- Josh Triplett
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/