Files
linux-legacy/include/linux
Peter Zijlstra d86ee4809d sched: optimize cond_resched()
Optimize cond_resched() by removing one conditional.

Currently cond_resched() checks system_state ==
SYSTEM_RUNNING in order to avoid scheduling before the
scheduler is running.

We can however, as per suggestion of Matt, use
PREEMPT_ACTIVE to accomplish that very same.

Suggested-by: Matt Mackall <mpm@selenic.com>
Signed-off-by: Peter Zijlstra <a.p.zijlstra@chello.nl>
Acked-by: Matt Mackall <mpm@selenic.com>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2009-07-10 14:24:05 -07:00
..
2009-06-30 18:56:00 -07:00
2009-06-30 18:55:58 -07:00
2009-07-08 09:18:05 -07:00
2009-06-30 18:56:00 -07:00
2009-06-30 20:12:24 +02:00
2009-06-29 08:59:10 +10:00
2009-06-25 11:22:13 -07:00
2009-07-08 09:31:56 -07:00
2009-06-29 12:14:51 -07:00
2009-06-30 18:55:59 -07:00
2009-07-10 14:24:05 -07:00
2009-07-06 13:57:03 -07:00