Re: [PATCH v8 11/16] sched/fair: uclamp: Add uclamp support to energy_compute()

2019-05-09 Thread Peter Zijlstra
On Tue, Apr 02, 2019 at 11:41:47AM +0100, Patrick Bellasi wrote: > @@ -6484,11 +6494,29 @@ compute_energy(struct task_struct *p, int dst_cpu, > struct perf_domain *pd) >* it will not appear in its pd list and will not be accounted >* by compute_energy(). >

[PATCH v8 11/16] sched/fair: uclamp: Add uclamp support to energy_compute()

2019-04-02 Thread Patrick Bellasi
The Energy Aware Scheduler (EAS) estimates the energy impact of waking up a task on a given CPU. This estimation is based on: a) an (active) power consumption defined for each CPU frequency b) an estimation of which frequency will be used on each CPU c) an estimation of the busy time (utilizatio