diff options
author | Chris Redpath <chris.redpath@arm.com> | 2017-07-04 10:19:58 +0100 |
---|---|---|
committer | Chris Redpath <chris.redpath@arm.com> | 2017-07-25 16:31:00 +0100 |
commit | 2e13f308a9854f5ff2b3735f4dc58c2a10cf7ea1 (patch) | |
tree | 0c80c68f30c62a805e30b2d1bafb7085e21e7050 /kernel/events | |
parent | 6cb8fcccb26e999a1745d208135c8cea7091639c (diff) |
sched/fair: Add a backup_cpu to find_best_target
Sometimes we find a target cpu but then we do not use it as
the energy_diff indicates that we would increase energy usage
or not save anything. To offer an additional option for those
cases, we return a second option which is what we would have
selected if the target CPU had not been found. This gives us
another chance to try to save some energy.
Change-Id: I42c4f20aba10e4cf65b51ac4153e2e00e534c8c7
Signed-off-by: Chris Redpath <chris.redpath@arm.com>
Signed-off-by: Patrick Bellasi <patrick.bellasi@arm.com>
Diffstat (limited to 'kernel/events')
0 files changed, 0 insertions, 0 deletions