[PATCH] sched: change prio bias only if queued
authorCon Kolivas <kernel@kolivas.org>
Wed, 9 Nov 2005 05:38:56 +0000 (21:38 -0800)
committerLinus Torvalds <torvalds@g5.osdl.org>
Wed, 9 Nov 2005 15:56:32 +0000 (07:56 -0800)
commit738a2ccbcf8c2c1b039f1e76662dce60b22b694b
treeb7359315b135d2266cef2bcfac10347ab34a3ad9
parentb910472dd3b7c1d51af9a594a759f642520c33e1
[PATCH] sched: change prio bias only if queued

prio_bias should only be adjusted in set_user_nice if p is actually currently
queued.

Signed-off-by: Con Kolivas <kernel@kolivas.org>
Cc: Ingo Molnar <mingo@elte.hu>
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