Re: [PATCH 2/2] sched/deadline: fix start high-res preemption tick for a non-running task

2014-11-17 Thread Wanpeng Li
Hi Juri, On 11/17/14, 5:50 PM, Juri Lelli wrote: Hi, On 13/11/14 10:30, Wanpeng Li wrote: Hi Juri, On 11/13/14, 5:37 PM, Juri Lelli wrote: Hi, not sure I understand what the problem is here. On 11/11/14 01:52, Wanpeng Li wrote: Queued ticks are scheduled to match the budget, which means the

Re: [PATCH 2/2] sched/deadline: fix start high-res preemption tick for a non-running task

2014-11-17 Thread Juri Lelli
Hi, On 13/11/14 10:30, Wanpeng Li wrote: > Hi Juri, > On 11/13/14, 5:37 PM, Juri Lelli wrote: >> Hi, >> >> not sure I understand what the problem is here. >> >> On 11/11/14 01:52, Wanpeng Li wrote: >>> Queued ticks are scheduled to match the budget, which means the budget >>> is overall consumed a

Re: [PATCH 2/2] sched/deadline: fix start high-res preemption tick for a non-running task

2014-11-13 Thread Wanpeng Li
Hi Juri, On 11/13/14, 5:37 PM, Juri Lelli wrote: Hi, not sure I understand what the problem is here. On 11/11/14 01:52, Wanpeng Li wrote: Queued ticks are scheduled to match the budget, which means the budget is overall consumed and the dl task should be throttled. ... enforce the budget? It

Re: [PATCH 2/2] sched/deadline: fix start high-res preemption tick for a non-running task

2014-11-13 Thread Juri Lelli
Hi, not sure I understand what the problem is here. On 11/11/14 01:52, Wanpeng Li wrote: > Queued ticks are scheduled to match the budget, which means the budget > is overall consumed and the dl task should be throttled. ... enforce the budget? It means that when the budget is consumed the task

[PATCH 2/2] sched/deadline: fix start high-res preemption tick for a non-running task

2014-11-10 Thread Wanpeng Li
Queued ticks are scheduled to match the budget, which means the budget is overall consumed and the dl task should be throttled. Dl task will be replenished immediately if fail to start a dl timer. However, the curr maybe not the left most dl task in the rb tree any more after this immediately