Picked change from NVIDIA "sched: unthrottle rt_rq in migrate_tasks()"
commit 7f10efbbe4922d7bb3bb7b3456d0d03f871ef923
Author: Peter Boonstoppel <pboonstoppel@nvidia.com>
Date: Thu May 17 15:15:43 2012 -0700
sched: unthrottle rt_rq in migrate_tasks()
migrate_tasks() uses _pick_next_task_rt() to get tasks from the
real-time runqueue to be migrated. When rt_rq is throttled
_pick_next_task_rt() won't return anything, in which case
migrate_tasks() can't move all threads over and gets stuck in an
infinite loop.
Instead unthrottle rt_rq before migrating tasks.
Bug 976709
Change-Id: I5714c18781a2cc2e4aac123e6e5ab3b8e099eac1
1 file changed