]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit4e1d8aef4f0775c9954ba4cf790e0f716aab2033
tree5185ad2d780974dc864f12d81d6c8b9fec73097b
parent70dc7372606acf7156f0fb316f5ff5742495cc42
sched: do not do cond_resched() when CONFIG_PREEMPT

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>
include/linux/kernel.h
include/linux/sched.h
kernel/sched.c