sched: fix update_stats_enqueue() reniced codepath
commita69edb55605117cc0f20aa36c49c20b96590774d
authorIngo Molnar <mingo@elte.hu>
Thu, 9 Aug 2007 09:16:52 +0000 (9 11:16 +0200)
committerIngo Molnar <mingo@elte.hu>
Thu, 9 Aug 2007 09:16:52 +0000 (9 11:16 +0200)
tree7e06cd9abce45d450ae9ee365dab3901e7193c01
parent194081ebfaa8c7d16133e08dd79254910c20c6ff
sched: fix update_stats_enqueue() reniced codepath

the key has to be rescaled to /weight even if it has a positive value.

(this change only affects the scheduling of reniced tasks)

Signed-off-by: Ingo Molnar <mingo@elte.hu>
kernel/sched_fair.c