]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
sched: fix sleeper bonus
authorIngo Molnar <mingo@elte.hu>
Sun, 12 Aug 2007 16:08:19 +0000 (18:08 +0200)
committerIngo Molnar <mingo@elte.hu>
Sun, 12 Aug 2007 16:08:19 +0000 (18:08 +0200)
commit5d2b3d3695a841231b65b5536a70dc29961c5611
treeeac6ed4b85734714b308f7f8b70ace62efb631ac
parent6707de00fdec3e3225192fe3dcd21323a8936b1f
sched: fix sleeper bonus

Peter Ziljstra noticed that the sleeper bonus deduction code
was not properly rate-limited: a task that scheduled more
frequently would get a disproportionately large deduction.
So limit the deduction to delta_exec.

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