sched: Refactor update_shares_cpu() -> update_blocked_avgs()
authorPaul Turner <pjt@google.com>
Thu, 4 Oct 2012 11:18:31 +0000 (13:18 +0200)
committerIngo Molnar <mingo@kernel.org>
Wed, 24 Oct 2012 08:27:28 +0000 (10:27 +0200)
commit48a1675323fa1b7844e479ad2a4469f4558c0f79
tree1f3127f19be8fca16574d6adfadd22693b8766f2
parent82958366cfea1a50e7e90907b2d55ae29ed69974
sched: Refactor update_shares_cpu() -> update_blocked_avgs()

Now that running entities maintain their own load-averages the work we must do
in update_shares() is largely restricted to the periodic decay of blocked
entities.  This allows us to be a little less pessimistic regarding our
occupancy on rq->lock and the associated rq->clock updates required.

Signed-off-by: Paul Turner <pjt@google.com>
Reviewed-by: Ben Segall <bsegall@google.com>
Signed-off-by: Peter Zijlstra <a.p.zijlstra@chello.nl>
Link: http://lkml.kernel.org/r/20120823141507.133999170@google.com
Signed-off-by: Ingo Molnar <mingo@kernel.org>
kernel/sched/fair.c