]> git.baikalelectronics.ru Git - kernel.git/commit
sched: Use rq->clock_task instead of rq->clock for correctly maintaining load averages
authorPaul Turner <pjt@google.com>
Sat, 22 Jan 2011 04:45:02 +0000 (20:45 -0800)
committerIngo Molnar <mingo@elte.hu>
Wed, 26 Jan 2011 11:31:03 +0000 (12:31 +0100)
commit0a473729a517ca1ac2e119b91f977056f4cb0a5c
treea56f4f47dd23ef65ebb5c579adb1fbb29ba3faed
parent5163d590106af9efb232f22805028a188d5e1522
sched: Use rq->clock_task instead of rq->clock for correctly maintaining load averages

The delta in clock_task is a more fair attribution of how much time a tg has
been contributing load to the current cpu.

While not really important it also means we're more in sync (by magnitude)
with respect to periodic updates (since __update_curr deltas are clock_task
based).

Signed-off-by: Paul Turner <pjt@google.com>
Signed-off-by: Peter Zijlstra <a.p.zijlstra@chello.nl>
LKML-Reference: <20110122044852.007092349@google.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
kernel/sched_fair.c