summaryrefslogtreecommitdiff
path: root/scripts/gcc-wrapper.py
diff options
context:
space:
mode:
authorOlav Haugan <ohaugan@codeaurora.org>2016-11-08 17:06:21 -0800
committerOlav Haugan <ohaugan@codeaurora.org>2016-11-10 14:19:05 -0800
commit45b8775b62bb27f5e88b07c17f45dd9ab0cf9bd9 (patch)
tree846a9a86577b2717723490ba8960bed405480009 /scripts/gcc-wrapper.py
parentc82e2f73d1028cd1ff2d6b767ea656909888e516 (diff)
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: Olav Haugan <ohaugan@codeaurora.org>
Diffstat (limited to 'scripts/gcc-wrapper.py')
0 files changed, 0 insertions, 0 deletions