aboutsummaryrefslogtreecommitdiff
path: root/sound
diff options
context:
space:
mode:
authorMathieu Poirier <mathieu.poirier@linaro.org>2013-11-20 14:20:42 +0000
committerJon Medhurst <tixy@linaro.org>2013-11-21 11:26:08 +0000
commit2a68d1e9125582bedeac4ea34fb9901ab1f7de11 (patch)
treea9bed10bd01e3bf3850bd327abdf2752ccde316f /sound
parentbd40e205ea48665ed60499001f8edf802e2901e2 (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>
Diffstat (limited to 'sound')
0 files changed, 0 insertions, 0 deletions