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

Skip to content
Unverified Commit 7066f39c authored by Diep Quynh's avatar Diep Quynh Committed by synt4x93
Browse files

sched: ems: energy: fix energy CPU selection algorithm



- Consider CPU idleness to avoid excessive task packing, which hurts
overall performance
- Use cpu_util_wake() instead of cpu_util(), fixing miscalculation
that causes the selection code thinking that the CPU is overutilized
- Mark CPU utilization with task util accounted as least utilized
CPU

Signed-off-by: default avatarDiep Quynh <remilia.1505@gmail.com>
Change-Id: I38f525ea4f78edfcb90f9e56f6cefbd19c022008
parent 5e00432e
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