]> git.baikalelectronics.ru Git - kernel.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)
commit18d3070f4ccca2fa4701c395d6c7161fdd886dda
treeeac6ed4b85734714b308f7f8b70ace62efb631ac
parent66ff40417d51c62225560868bf3d5db7f9200e24
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