Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 11bbf5a7 authored by Ionela Voinescu's avatar Ionela Voinescu Committed by Abhijeet Dharmapurikar
Browse files

ANDROID: sched/fair: add idle state filter to prefer_idle case



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: default avatarIonela Voinescu <ionela.voinescu@arm.com>
Git-commit: 5f574ff1
Git-repo: http://android.googlesource.com/kernel/common


Signed-off-by: default avatarAbhijeet Dharmapurikar <adharmap@codeaurora.org>
parent 0cbc2fd6
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment