Linus Torvalds 8ba7b0a14b Add early-boot-safety check to cond_resched()
Just to be safe, we should not trigger a conditional reschedule during
the early boot sequence.  We've historically done some questionable
early on, and the safety warnings in __might_sleep() are generally
turned off during that period, so there might be problems lurking.

This affects CONFIG_PREEMPT_VOLUNTARY, which takes over might_sleep() to
cause a voluntary conditional reschedule.

Acked-by: Ingo Molnar <mingo@elte.hu>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
2006-03-06 17:38:49 -08:00
..
2006-01-08 20:13:48 -08:00
2006-01-11 18:42:13 -08:00
2006-01-18 19:20:30 -08:00
2005-04-16 15:20:36 -07:00
2005-04-16 15:20:36 -07:00
2005-04-16 15:20:36 -07:00
2005-10-30 17:37:32 -08:00
2006-01-11 18:42:13 -08:00
2005-10-08 15:00:57 -07:00
2005-10-30 17:37:17 -08:00
2006-01-09 15:59:19 -08:00
2006-01-08 20:13:40 -08:00
2005-07-07 18:23:46 -07:00
2005-04-16 15:20:36 -07:00
2005-09-10 10:06:21 -07:00
2006-02-07 20:57:47 -05:00
2006-01-11 18:42:13 -08:00
2005-04-16 15:20:36 -07:00