Messages in this thread | | | Date | Fri, 24 Apr 2015 20:32:55 +0200 | From | Peter Zijlstra <> | Subject | Re: Re: [PATCH v6 2/3] sched/rt: Fix wrong SMP scheduler behavior for equal prio cases |
| |
On Thu, Apr 23, 2015 at 02:53:27PM +0800, pang.xunlei@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?
| |