]> err.no Git - linux-2.6/commit
[PATCH] sched: remove on runqueue requeueing
authorCon Kolivas <kernel@kolivas.org>
Fri, 31 Mar 2006 10:31:29 +0000 (02:31 -0800)
committerLinus Torvalds <torvalds@g5.osdl.org>
Fri, 31 Mar 2006 20:18:59 +0000 (12:18 -0800)
commit7c4bb1f9b3788309e1159961c606ba0bdf7ed382
tree47051dcde0cc24ec123e9ae3043465cc677a8c06
parent5138930e6a69f1c7851a82d7cedaa01fad029fcf
[PATCH] sched: remove on runqueue requeueing

On runqueue time is used to elevate priority in schedule().

In the code it currently requeues tasks even if their priority is not
elevated, which would end up placing them at the end of their runqueue
array effectively delaying them instead of improving their priority.

Bug spotted by Mike Galbraith <efault@gmx.de>

This patch removes this requeueing.

Signed-off-by: Con Kolivas <kernel@kolivas.org>
Acked-by: Ingo Molnar <mingo@elte.hu>
Cc: Mike Galbraith <efault@gmx.de>
Cc: Nick Piggin <nickpiggin@yahoo.com.au>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
kernel/sched.c