]> err.no Git - linux-2.6/commit
sched: fix startup penalty calculation
authorIngo Molnar <mingo@elte.hu>
Fri, 24 Aug 2007 18:39:10 +0000 (20:39 +0200)
committerIngo Molnar <mingo@elte.hu>
Fri, 24 Aug 2007 18:39:10 +0000 (20:39 +0200)
commit095e56c7036fe97bc3ebcd80ed6e121be0847656
treef911a303a427ca6286dd61a2f2f82b92fc3daa28
parentea0aa3b23a193d1fc5c982286edecd071af67d94
sched: fix startup penalty calculation

fix task startup penalty miscalculation: sysctl_sched_granularity is
unsigned int and wait_runtime is long so we first have to convert it
to long before turning it negative ...

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