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

Commit 78bafeea authored by Olav Haugan's avatar Olav Haugan Committed by Syed Rameez Mustafa
Browse files

sched/core: Fix migrate tasks bail-out condition



Migrate tasks function is used by both hotplug and cpu isolation. During
hotplug all the cpus are stalled (in stop machine) while tasks are being
migrated. However, this is not the case during cpu isolation. A task
that was counted as a pinned thread might have been migrated off the
cpu. Take this into account when checking whether we have completed
moving all tasks off the runqueue.

Also ignore warning about tasks moving off the run-queue for isolation
use case.

Change-Id: I5c5f25eb9b1eaf0605b606a65e0ac86996fa5f27
Signed-off-by: default avatarOlav Haugan <ohaugan@codeaurora.org>
parent 85970733
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