Skip to content
Commit 02b67cc3 authored by Herbert Xu's avatar Herbert Xu Committed by Ingo Molnar
Browse files

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: default avatarIngo Molnar <mingo@elte.hu>
parent 03319ec8
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment