Re: Why does the 2.6.37 scheduler hate RT tasks?

From: Peter Zijlstra
Date: Wed Feb 02 2011 - 06:13:30 EST


On Tue, 2011-02-01 at 17:10 -0800, Paul E. McKenney wrote:
> Hello, Peter,
>
> If I create an SCHED_FIFO-priority kthread in pre-2.6.37 kernels,
> things work nicely. If I try in in later kernels, __disable_runtime()
> gets upset occasionally during CPU-hotplug calls when CPUs are inserted.
> If I make the exact same kthreads run SCHED_NORMAL, no problem.

> PS. The code at kernel/sched_rt.c:466 is "BUG_ON(want);" in
> __disable_runtime(). Config attached in case that helps.

Hrmm.. weird.. ok I'll have a look at that.


--
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/