Re: [RFC v5 1/9] sched/deadline: track the active utilization

2017-03-26 Thread luca abeni
Hi Mathieu, On Sun, 26 Mar 2017 11:04:18 -0600 Mathieu Poirier wrote: [...] > > @@ -946,8 +968,12 @@ enqueue_dl_entity(struct sched_dl_entity > > *dl_se, > > * parameters of the task might need updating. Otherwise, > > * we want a replenishment of its runtime. > > */ >

Re: [RFC v5 1/9] sched/deadline: track the active utilization

2017-03-26 Thread Mathieu Poirier
Hello Luca, On 23 March 2017 at 21:52, luca abeni wrote: > From: Luca Abeni > > Active utilization is defined as the total utilization of active > (TASK_RUNNING) tasks queued on a runqueue. Hence, it is increased > when a task wakes up and is decreased when a task blocks. > > When a task is migr

[RFC v5 1/9] sched/deadline: track the active utilization

2017-03-23 Thread luca abeni
From: Luca Abeni Active utilization is defined as the total utilization of active (TASK_RUNNING) tasks queued on a runqueue. Hence, it is increased when a task wakes up and is decreased when a task blocks. When a task is migrated from CPUi to CPUj, immediately subtract the task's utilization fro