Re: [PATCH v2 2/2] sched/deadline: Change the way to replenish runtime for sleep tasks

2017-02-22 Thread Byungchul Park
On Thu, Feb 23, 2017 at 12:18:48PM +0900, byungchul.park wrote: > > Current code handles this by replenishing a runtime in hrtimer callback > > for deadline. But this approach has room for improvement in two ways: > > > >1. No need to keep the hrtimer for a sleep task because it can be > >

[PATCH v2 2/2] sched/deadline: Change the way to replenish runtime for sleep tasks

2017-02-22 Thread Byungchul Park
Let's consider the following example. timeline : o...o.o...o..o ^ ^ ^ ^ ^ | | | | | start | | | | original runtime |

RE: [PATCH v2 2/2] sched/deadline: Change the way to replenish runtime for sleep tasks

2017-02-22 Thread byungchul.park
Subject: [PATCH v2 2/2] sched/deadline: Change the way to replenish > runtime for sleep tasks > > Let's consider the following example. > > timeline : o