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

Skip to content
Commit 5e6ecd7f authored by Vikram Mulukutla's avatar Vikram Mulukutla Committed by Joonwoo Park
Browse files

sched: fair: Don't pull task during LB if task doesn't fit



can_migrate_task is invoked in a loop that attempts to find
a task to load balance. If we find ourselves a task that
can't fit on the target cpu, let's reject it during at least
that iteration. If we don't find another task, we'll come
back to the unfit task.

This allows heavy tasks to remain on a cpu that they can
fit in.

Change-Id: I6ffda528073d0a60cc260f9e48fe5efb7432ff61
Signed-off-by: default avatarVikram Mulukutla <markivx@codeaurora.org>
parent 0b062900
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