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

Skip to content
Commit a993ba35 authored by Lingutla Chandrasekhar's avatar Lingutla Chandrasekhar
Browse files

sched/fair: Fix excessive packing on the max capacity CPU



When boost is enabled or mid capacity cluster has single cpu, then
we traverse both mid and max capacity CPUs. When all of these CPUs
are busy, the task should be placed on the CPU which has highest
spare capacity. However the current code completely ignores
the mid capacity CPU when it encounters the max capacity CPU,
though the former has more spare capacity.

Fix this issue by enforcing the spare capacity check across
different capacity CPUs.

Change-Id: I726d47f985f9e59d2bb1c6cf2b743796b57e3051
Signed-off-by: default avatarLingutla Chandrasekhar <clingutla@codeaurora.org>
parent 0b21d22f
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