diff options
author | Mathieu Poirier <mathieu.poirier@linaro.org> | 2015-02-04 11:39:05 +0900 |
---|---|---|
committer | Seung-Woo Kim <sw0312.kim@samsung.com> | 2016-12-14 13:41:51 +0900 |
commit | 1d251fe372e6e99da68b36d8e78b416f10da7487 (patch) | |
tree | ee4ea2378b04475fc59e37f3aa9c3e4c474bc01e /Makefile | |
parent | e382726a6ab04181adfe63c9ddbe9c75fabeb981 (diff) |
HMP: Avoid using the cpu stopper to stop runnable tasks
When migrating a runnable task, we use the CPU stopper on
the source CPU to ensure that the task to be moved is not
currently running. Before this patch, all forced migrations
(up, offload, idle pull) use the stopper for every migration.
Using the CPU stopper is mandatory only when a task is currently
running on a CPU. Otherwise tasks can be moved by locking the
source and destination run queues.
This patch checks to see if the task to be moved are currently
running. If not the task is moved directly without using the
stopper thread.
Signed-off-by: Mathieu Poirier <mathieu.poirier@linaro.org>
Signed-off-by: Jon Medhurst <tixy@linaro.org>
[k.kozlowski: rebased on 4.1, no signed-off-by of previous committer]
Signed-off-by: Krzysztof Kozlowski <k.kozlowski@samsung.com>
Diffstat (limited to 'Makefile')
0 files changed, 0 insertions, 0 deletions