sched: do not do cond_resched() when CONFIG_PREEMPT
authorHerbert Xu <herbert@gondor.apana.org.au>
Fri, 25 Jan 2008 20:08:28 +0000 (21:08 +0100)
committerIngo Molnar <mingo@elte.hu>
Fri, 25 Jan 2008 20:08:28 +0000 (21:08 +0100)
Why do we even have cond_resched when real preemption
is on? It seems to be a waste of space and time.

remove cond_resched with CONFIG_PREEMPT on.

Signed-off-by: Ingo Molnar <mingo@elte.hu>

No differences found