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

Commit b41e1ca6 authored by Joonwoo Park's avatar Joonwoo Park Committed by Todd Kjos
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>
(minor rebase conflicts)
Signed-off-by: default avatarChris Redpath <chris.redpath@arm.com>
(cherry picked from commit 94e5c965075b55a5dfd1c4cce580e2dfb0c7ffc3)
[trivial cherry-pick issues]
Signed-off-by: default avatarQuentin Perret <quentin.perret@arm.com>
parent 4f0693ad
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