sched: Extend sched_group_energy to test load-balancing decisions
authorMorten Rasmussen <morten.rasmussen@arm.com>
Fri, 2 Jan 2015 14:21:56 +0000 (14:21 +0000)
committerLeo Yan <leo.yan@linaro.org>
Tue, 10 May 2016 08:49:51 +0000 (16:49 +0800)
commitdf2030c8412e6acdb3f7ec62ed195cc7967c30e2
tree0a7118d154a266edcaf3c625239f1d5bd058da45
parentc1770a521398102b6f2447502035887297b17ea0
sched: Extend sched_group_energy to test load-balancing decisions

Extended sched_group_energy() to support energy prediction with usage
(tasks) added/removed from a specific cpu or migrated between a pair of
cpus. Useful for load-balancing decision making.

cc: Ingo Molnar <mingo@redhat.com>
cc: Peter Zijlstra <peterz@infradead.org>
Signed-off-by: Morten Rasmussen <morten.rasmussen@arm.com>
kernel/sched/fair.c