]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/commit
sched: Aggregate total task_group load
authorPaul Turner <pjt@google.com>
Thu, 4 Oct 2012 11:18:30 +0000 (13:18 +0200)
committerIngo Molnar <mingo@kernel.org>
Wed, 24 Oct 2012 08:27:24 +0000 (10:27 +0200)
commitc566e8e9e44b72b53091da20e2dedefc730f2ee2
tree3e86db8843021c36b41362063183d1135fda63db
parentaff3e498844441fa71c5ee1bbc470e1dff9548d9
sched: Aggregate total task_group load

Maintain a global running sum of the average load seen on each cfs_rq belonging
to each task group so that it may be used in calculating an appropriate
shares:weight distribution.

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/20120823141506.792901086@google.com
Signed-off-by: Ingo Molnar <mingo@kernel.org>
kernel/sched/debug.c
kernel/sched/fair.c
kernel/sched/sched.h