+12
−4
Loading
Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more
The CPU selection process for a prefer_idle task either minimizes or maximizes the CPU capacity for idle CPUs depending on the task being boosted or not. Given that we are iterating through all CPUs, additionally filter the choice by preferring a CPU in a more shallow idle state. This will provide both a faster wake-up for the task and higher energy efficiency, by allowing CPUs in deeper idle states to remain idle. Change-Id: Ic55f727a0c551adc0af8e6ee03de6a41337a571b Signed-off-by:Ionela Voinescu <ionela.voinescu@arm.com> Git-commit: 5f574ff1 Git-repo: http://android.googlesource.com/kernel/common Signed-off-by:
Abhijeet Dharmapurikar <adharmap@codeaurora.org>