ANDROID: 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> (cherry picked from commit 426e11af9e415437d857e0f3cc5215b43a7cee08) [Fixed cherry-pick issue] Signed-off-by: Quentin Perret <quentin.perret@arm.com>
Loading
Please register or sign in to comment