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

Commit 82553e7a authored by Joonwoo Park's avatar Joonwoo Park
Browse files

sched/fair: prevent meaningless active migration



At present need_active_balance() determines whether active upmigration
is needed by using capacity_of().  CPU's capacity can be reduced by RT
tasks load therefore distinguishing cluster difference with
capacity_of() is wrong and leads suboptimal active migration within
same cluster.  Use capacity_orig_of() to distinguish different
clusters.

Change-Id: I3e1435246a8edc3ad618ef98a34866cfbd8c16a5
Signed-off-by: default avatarJoonwoo Park <joonwoop@codeaurora.org>
parent 19c00751
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