Re: [PATCH v2 7/7] sched/rt: reschedule if stop/dl task slip in after pull operations

2015-05-30 Thread Wanpeng Li
On 5/29/15 10:34 PM, Peter Zijlstra wrote: On Wed, May 13, 2015 at 02:01:07PM +0800, Wanpeng Li wrote: pull_rt_task() can drop (and re-acquire) rq->lock, this means a dl or stop task can slip in, in which case need to reschedule. This patch add the reschedule when the scenario occurs. Signed-o

Re: [PATCH v2 7/7] sched/rt: reschedule if stop/dl task slip in after pull operations

2015-05-29 Thread Peter Zijlstra
On Wed, May 13, 2015 at 02:01:07PM +0800, Wanpeng Li wrote: > pull_rt_task() can drop (and re-acquire) rq->lock, this means a dl > or stop task can slip in, in which case need to reschedule. This > patch add the reschedule when the scenario occurs. > > Signed-off-by: Wanpeng Li > --- > kernel/

[PATCH v2 7/7] sched/rt: reschedule if stop/dl task slip in after pull operations

2015-05-12 Thread Wanpeng Li
pull_rt_task() can drop (and re-acquire) rq->lock, this means a dl or stop task can slip in, in which case need to reschedule. This patch add the reschedule when the scenario occurs. Signed-off-by: Wanpeng Li --- kernel/sched/rt.c | 19 ++- 1 file changed, 18 insertions(+), 1 d