Re: Re: [PATCH v6 2/3] sched/rt: Fix wrong SMP scheduler behavior for equal prio cases
From: Peter Zijlstra
Date: Fri Apr 24 2015 - 14:33:15 EST
On Thu, Apr 23, 2015 at 02:53:27PM +0800, pang.xunlei@xxxxxxxxxx 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 majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/