sched: fix sched_slice()
authorMike Galbraith <efault@gmx.de>
Fri, 2 Jan 2009 11:16:42 +0000 (12:16 +0100)
committerIngo Molnar <mingo@elte.hu>
Fri, 2 Jan 2009 16:10:43 +0000 (17:10 +0100)
Impact: fix bad-interactivity buglet

Fix sched_slice() to emit a sane result whether a task is currently
enqueued or not.

Signed-off-by: Mike Galbraith <efault@gmx.de>
Tested-by: Jayson King <dev@jaysonking.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
 kernel/sched_fair.c |   30 ++++++++++++------------------
 1 file changed, 12 insertions(+), 18 deletions(-)


No differences found