sched: Allow update_cfs_load() to update global load
authorPaul Turner <pjt@google.com>
Mon, 15 Nov 2010 23:47:09 +0000 (15:47 -0800)
committerIngo Molnar <mingo@elte.hu>
Thu, 18 Nov 2010 12:27:50 +0000 (13:27 +0100)
commitd6b5591829bd348a5fbe1c428d28dea00621cdba
treed8f8131c4d8033685b2e77bffee6cdcf0a975d38
parent3b3d190ec3683d568fd2ebaead5e1ec7f97b6e37
sched: Allow update_cfs_load() to update global load

Refactor the global load updates from update_shares_cpu() so that
update_cfs_load() can update global load when it is more than ~10%
out of sync.

The new global_load parameter allows us to force an update, regardless of
the error factor so that we can synchronize w/ update_shares().

Signed-off-by: Paul Turner <pjt@google.com>
Signed-off-by: Peter Zijlstra <a.p.zijlstra@chello.nl>
LKML-Reference: <20101115234938.377473595@google.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
kernel/sched_fair.c
This page took 0.028007 seconds and 5 git commands to generate.