Re: [PATCH V3 1/3] sched/deadline: Replenishment timer should fire in the next period

2017-03-06 Thread Wanpeng Li
2017-02-28 18:07 GMT+08:00 Daniel Bristot de Oliveira : > Currently, the replenishment timer is set to fire at the deadline > of a task. Although that works for implicit deadline tasks because the > deadline is equals to the begin of the next period, that is not correct > for

Re: [PATCH V3 1/3] sched/deadline: Replenishment timer should fire in the next period

2017-03-06 Thread Wanpeng Li
2017-02-28 18:07 GMT+08:00 Daniel Bristot de Oliveira : > Currently, the replenishment timer is set to fire at the deadline > of a task. Although that works for implicit deadline tasks because the > deadline is equals to the begin of the next period, that is not correct > for constrained deadline

[PATCH V3 1/3] sched/deadline: Replenishment timer should fire in the next period

2017-02-28 Thread Daniel Bristot de Oliveira
Currently, the replenishment timer is set to fire at the deadline of a task. Although that works for implicit deadline tasks because the deadline is equals to the begin of the next period, that is not correct for constrained deadline tasks (deadline < period). For instance: f.c: ---

[PATCH V3 1/3] sched/deadline: Replenishment timer should fire in the next period

2017-02-28 Thread Daniel Bristot de Oliveira
Currently, the replenishment timer is set to fire at the deadline of a task. Although that works for implicit deadline tasks because the deadline is equals to the begin of the next period, that is not correct for constrained deadline tasks (deadline < period). For instance: f.c: ---