On Thu, Apr 23, 2015 at 02:53:27PM +0800, pang.xun...@zte.com.cn wrote: > But for yield() or RR scheduling when running out of time slice, > I think this would be still inappropriate, am I missing something?
Those two have explicit hooks you can use to do the right queueing with. Look at yield_task_rt() and task_tick_rt() both end up doing requeue_task_rt(), which is exactly what you want, no? -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/