sched: fix wakeup preemption clock
authorMike Galbraith <efault@gmx.de>
Tue, 16 Dec 2008 07:45:30 +0000 (08:45 +0100)
committerIngo Molnar <mingo@elte.hu>
Tue, 16 Dec 2008 08:45:38 +0000 (09:45 +0100)
commit03e89e4574a680af15f59329b061f35d9813aff4
tree2cf03e33021fbf8cf2aaf6ce99314eb45ed34dbc
parentd65bd5ecb2bd166cea4952a59b7e16cc3ad6ef6c
sched: fix wakeup preemption clock

Impact: sharpen the wakeup-granularity to always be against current scheduler time

It was possible to do the preemption check against an old time stamp.

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