Re: [PATCH V5 0/3] cpufreq_cooling: Get effective CPU utilization from scheduler

2020-12-08 Thread Viresh Kumar
On 08-12-20, 15:50, Peter Zijlstra wrote: > On Tue, Dec 08, 2020 at 09:46:54AM +0530, Viresh Kumar wrote: > > Viresh Kumar (3): > > sched/core: Move schedutil_cpu_util() to core.c > > sched/core: Rename schedutil_cpu_util() and allow rest of the kernel > > to use it > > thermal: cpufreq_c

Re: [PATCH V5 0/3] cpufreq_cooling: Get effective CPU utilization from scheduler

2020-12-08 Thread Peter Zijlstra
On Tue, Dec 08, 2020 at 09:46:54AM +0530, Viresh Kumar wrote: > Viresh Kumar (3): > sched/core: Move schedutil_cpu_util() to core.c > sched/core: Rename schedutil_cpu_util() and allow rest of the kernel > to use it > thermal: cpufreq_cooling: Reuse sched_cpu_util() for SMP platforms How

[PATCH V5 0/3] cpufreq_cooling: Get effective CPU utilization from scheduler

2020-12-07 Thread Viresh Kumar
Hi, This patchset makes the cpufreq_cooling driver reuse the CPU utilization metric provided by the scheduler instead of depending on idle and busy times of a CPU, which aren't that accurate to measure the busyness of a CPU for the next cycle. More details can be seen in the commit logs of the pat