Re: Re: Re: [PATCH v6 2/3] sched/rt: Fix wrong SMP scheduler behavior for equal prio cases

2015-04-25 Thread Peter Zijlstra
On Sat, Apr 25, 2015 at 10:47:00PM +0800, pang.xun...@zte.com.cn wrote: > We want to do the operation in put_prev_task_rt(), and > put_prev_task_rt() has many call sites. > So I've still no clue wtf you're trying to do, there's words in your changelog but none of them seem to describe the actual

Re: Re: [PATCH v6 2/3] sched/rt: Fix wrong SMP scheduler behavior for equal prio cases

2015-04-24 Thread Peter Zijlstra
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_