Re: [patch] Re: autogroup: sched_setscheduler() fails

From: Peter Zijlstra
Date: Mon Jan 17 2011 - 08:16:03 EST


On Thu, 2011-01-13 at 04:54 +0100, Mike Galbraith wrote:
> sched, autogroup: fix CONFIG_RT_GROUP_SCHED sched_setscheduler() failure.
>
> If CONFIG_RT_GROUP_SCHED is set, __sched_setscheduler() fails due to autogroup
> not allocating rt_runtime. Free unused/unusable rt_se and rt_rq, redirect RT
> tasks to the root task group, and tell __sched_setscheduler() that it's ok.
>
> Signed-off-by: Mike Galbraith <efault@xxxxxx>
> Reported-by: Bharata B Rao <bharata@xxxxxxxxxxxxxxxxxx>

Thanks, applied!
--
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/