Re: [PATCH 1/1] sched: unthrottle rt runqueues in__disable_runtime()

From: Peter Zijlstra
Date: Thu Aug 16 2012 - 04:22:07 EST


On Thu, 2012-08-09 at 15:34 -0700, Peter Boonstoppel wrote:
> migrate_tasks() uses _pick_next_task_rt() to get tasks from the
> real-time runqueues 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 runqueues before migrating tasks.
>
> Additionally: move unthrottle_offline_cfs_rqs() to rq_offline_fair()

Thanks!
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/