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

Skip to content
Commit 5ac6978f authored by Pavankumar Kondeti's avatar Pavankumar Kondeti
Browse files

sched/rt: Refactor rt_energy_aware_wake_cpu()



Refactor the RT task placement code similar to fair task
placement. The CPUs are iterated from the minimum capacity
CPU's sched group in the highest sched domain which has
energy cost data. If we find an eligible in the lower
capacity group, skip iterating over the other groups.

There is no functionality change with this patch. The
refactoring is done to prepare the code ready for
implementing placement boost support.

Change-Id: I66dd276232f38554febbdf905b31b6656cad98ff
Signed-off-by: default avatarPavankumar Kondeti <pkondeti@codeaurora.org>
parent cf9d0b63
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