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 stop task can slip

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 reschedule.

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 occurs.

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 seems

[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 wanpeng...@linux.intel.com --- kernel/sched/deadline.c | 16 +++- 1 file