]> git.baikalelectronics.ru Git - kernel.git/commit
sched: fix wakeup granularity for buddies
authorPeter Zijlstra <a.p.zijlstra@chello.nl>
Sat, 19 Apr 2008 17:44:57 +0000 (19:44 +0200)
committerIngo Molnar <mingo@elte.hu>
Sat, 19 Apr 2008 17:44:57 +0000 (19:44 +0200)
commit4bb04f8449e3426992709328d7f04f34eb874c66
treea44ea1d2a5bf1e9f2975bc55a88167b3fc2104fe
parent0115ac3578e2287ad18ba85b15c9b67f4f5e32f4
sched: fix wakeup granularity for buddies

The wakeup buddy logic didn't use the same wakeup granularity logic as the
wakeup preemption did, this might cause the ->next buddy to be selected past
the point where we would have preempted had the task been a single running
instance.

Signed-off-by: Peter Zijlstra <a.p.zijlstra@chello.nl>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
kernel/sched_fair.c