ANDROID: sched/fair: fix CPU selection for non latency sensitive tasks
The Non latency sensitive tasks CPU selection targets for an active CPU in the little cluster. The shallowest c-state CPU is stored as a backup. However if all CPUs in the little cluster are idle, we pick an active CPU in the BIG cluster as the target CPU. This incorrect choice of the target CPU may not get corrected by the select_energy_cpu_idx() depending on the energy difference between previous CPU and target CPU. This can be fixed easily by maintaining the same variable that tracks maximum capacity of the traversed CPU for both idle and active CPUs. Change-Id: Iba02463323dfeadac0c3bd486525bff4d23ad1f3 Signed-off-by:Pavankumar Kondeti <pkondeti@codeaurora.org> Git-commit: 98d51aa1 Git-repo: http://android.googlesource.com/kernel/common [adharmap@codeaurora.org: comment cleanup only, this patch is already in the baseline Change-Id: I3efb8bc82ff005383163921ef2bd39fcac4589ad] Signed-off-by:
Abhijeet Dharmapurikar <adharmap@codeaurora.org>
Loading
Please register or sign in to comment