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

Skip to content
Commit 64510d47 authored by Syed Rameez Mustafa's avatar Syed Rameez Mustafa
Browse files

sched: Don't active migrate tasks to CPUs in the same cluster



At the tick the scheduler checks whether a running task needs to
be migrated for some reason. If the reason is to up or down migrate
a task, we should only kick active balance when select_best_cpu()
returns a CPU in the appropriate cluster. Active migrating a task
to another CPU in the same cluster is wasteful.

Change-Id: I2c899a9c2dfb8ec4f983d7e355f0960f88bd3b45
Signed-off-by: default avatarSyed Rameez Mustafa <rameezmustafa@codeaurora.org>
parent 3d82d664
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