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:Satya Durga Srinivasu Prabhala <satyap@codeaurora.org>
Loading
Please register or sign in to comment