commit | 5fd8c0543421091a0f24d8d1c720017c49721bdf | [log] [tgz] |
---|---|---|
author | Vikram Mulukutla <markivx@codeaurora.org> | Fri Nov 11 16:05:24 2016 -0800 |
committer | Syed Rameez Mustafa <rameezmustafa@codeaurora.org> | Tue Feb 07 14:51:17 2017 -0800 |
tree | 9cbc60e3d6ac6009f03e9ccfba51426a7fdd4bd7 | |
parent | 78bafeea2f0b6d1f9b37dfddf080df6e6d542b80 [diff] |
sched: core: Skip migrating tasks that aren't enqueued on dead_rq During migrate_tasks, we have to drop the dead_rq lock in order to preserve locking order when acquiring task->pi_lock. This may allow the task to migrate off of dead_rq. Therefore, don't attempt to migrate such a task again from dead_rq. Change-Id: Id31b58e231d3dcd7d32e0dc7f264595d60a7c408 Signed-off-by: Vikram Mulukutla <markivx@codeaurora.org>