Skip to content
This repository has been archived by the owner on Dec 2, 2020. It is now read-only.

Commit

Permalink
sched/fair: turn off EAS_USE_NEED_IDLE sched feature
Browse files Browse the repository at this point in the history
This feature disables the standard EAS task placement behavior for
prefer_idle tasks, causing them to prefer smaller idle CPUs instead of
the first idle CPU they find. For now let's use the  well-understood
EAS behavior we've used on previous devices, and revisit turning this
feature on if we decide it's an effective way to save power.

Bug: 78782859
Test: sched stats show prefer_idle path being taken
Change-Id: I1b7ff4865f54aa978d900cad5c3bfd69f1b71ce4
Signed-off-by: Connor O'Brien <connoro@google.com>
Signed-off-by: Anirudh Gupta <anirudhgupta109@aosip.dev>
Signed-off-by: celtare21 <celtare21@gmail.com>
  • Loading branch information
cobrien7 authored and dracarys18 committed Sep 23, 2020
1 parent ceb85c6 commit b684ad0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion kernel/sched/features.h
Original file line number Diff line number Diff line change
Expand Up @@ -107,4 +107,4 @@ SCHED_FEAT(FBT_STRICT_ORDER, false)
* ON: schedtune.prefer_idle is replaced with need_idle
* OFF: schedtune.prefer_idle is honored as is.
*/
SCHED_FEAT(EAS_USE_NEED_IDLE, true)
SCHED_FEAT(EAS_USE_NEED_IDLE, false)

0 comments on commit b684ad0

Please sign in to comment.