]> git.baikalelectronics.ru Git - kernel.git/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)
commitd25db64ebb01ad352e3d90fd5c0ff4864ddbbd30
tree47051dcde0cc24ec123e9ae3043465cc677a8c06
parent42220354d38409268f4d49968bf9ce580efe9c15
[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