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)
committerAmit Pundir <amit.pundir@linaro.org>
Wed, 14 Sep 2016 09:18:50 +0000 (14:48 +0530)
commitb7a0598b071c5e2f269d0afbbbd1b6d36b83bb3f
treeeedb509c51985fe12f8738080ced459326419607
parent074bcc729d948432568446cbc5598ecabb80bbb9
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