Re: [PATCH 4/7] sched/deadline: reschedule if stop task slip in after pull operations

2015-04-21 Thread Juri Lelli
On 21/04/15 00:02, Wanpeng Li wrote: > On Tue, Apr 21, 2015 at 06:59:02AM +0800, Wanpeng Li wrote: >> Hi Juri, >> On Mon, Apr 20, 2015 at 11:27:22AM +0100, Juri Lelli wrote: >>> Hi, >>> >>> On 06/04/2015 09:53, Wanpeng Li wrote: pull_dl_task can drop (and re-acquire) rq->lock, this means a sto

Re: [PATCH 4/7] sched/deadline: reschedule if stop task slip in after pull operations

2015-04-20 Thread Wanpeng Li
On Tue, Apr 21, 2015 at 06:59:02AM +0800, Wanpeng Li wrote: >Hi Juri, >On Mon, Apr 20, 2015 at 11:27:22AM +0100, Juri Lelli wrote: >>Hi, >> >>On 06/04/2015 09:53, Wanpeng Li wrote: >>> pull_dl_task can drop (and re-acquire) rq->lock, this means a stop task >>> can slip in, in which case we need to

Re: [PATCH 4/7] sched/deadline: reschedule if stop task slip in after pull operations

2015-04-20 Thread Wanpeng Li
Hi Juri, On Mon, Apr 20, 2015 at 11:27:22AM +0100, Juri Lelli wrote: >Hi, > >On 06/04/2015 09:53, Wanpeng Li wrote: >> pull_dl_task can drop (and re-acquire) rq->lock, this means a stop task >> can slip in, in which case we need to reschedule. This patch add the >> reschedule when the scenario oc

Re: [PATCH 4/7] sched/deadline: reschedule if stop task slip in after pull operations

2015-04-20 Thread Juri Lelli
Hi, On 06/04/2015 09:53, Wanpeng Li wrote: > pull_dl_task can drop (and re-acquire) rq->lock, this means a stop task > can slip in, in which case we need to reschedule. This patch add the > reschedule when the scenario occurs. > Ok, I guess it can happen. Doesn't RT have the same problem? It s

[PATCH 4/7] sched/deadline: reschedule if stop task slip in after pull operations

2015-04-06 Thread Wanpeng Li
pull_dl_task can drop (and re-acquire) rq->lock, this means a stop task can slip in, in which case we need to reschedule. This patch add the reschedule when the scenario occurs. Signed-off-by: Wanpeng Li --- kernel/sched/deadline.c | 16 +++- 1 file changed, 15 insertions(+), 1 del