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

Skip to content
Commit 8832b80a authored by Satya Durga Srinivasu Prabhala's avatar Satya Durga Srinivasu Prabhala
Browse files

sched/fair: Do load balancing of misfit task only when dst_cpu is idle



'commit 53adc803 ("FROMLIST: sched/fair: Consider misfit tasks
when load-balancing")' introduces a change where a higher capacity
CPUs could pull a misfit task from lower capacity via active load
balancing. However it fails to take in to account if the dst cpu
is already busy, we want to avoid overcrowding the dst cpu and
further causing migrations away from it.

Add a check to ensure that misfit tasks are pulled via active
load balancing only if the dst cpu is idle.

Change-Id: Iceee1c36dba445a45aaee5e380a729dac68e56c8
Signed-off-by: default avatarSatya Durga Srinivasu Prabhala <satyap@codeaurora.org>
parent 4424b4d6
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