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

Commit 2b901d50 authored by Joonwoo Park's avatar Joonwoo Park
Browse files

sched: EAS/WALT: take into account of waking task's load



WALT's function cpu_util(cpu) reports CPU's load without taking into
account of waking task's load.  Thus currently cpu_overutilized()
underestimates load on the previous CPU of waking task.

Take into account of task's load to determine whether previous CPU is
overutilzed to bail out early without running energy_diff() which is
expensive.

Change-Id: I30f146984a880ad2cc1b8a4ce35bd239a8c9a607
Signed-off-by: default avatarJoonwoo Park <joonwoop@codeaurora.org>
parent 0a470d36
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