Re: [PATCH 2/8] cpufreq: move invariance setter calls in cpufreq core

2020-07-02 Thread Ionela Voinescu
Hi Rafael, On Wednesday 01 Jul 2020 at 17:51:26 (+0200), Rafael J. Wysocki wrote: > On Wed, Jul 1, 2020 at 5:28 PM Ionela Voinescu > wrote: > > > > Hey, > > > > On Wednesday 01 Jul 2020 at 16:16:19 (+0530), Viresh Kumar wrote: > > > On 01-07-20, 10:07, Ionela Voinescu wrote: > > > > From: Valent

Re: [PATCH 2/8] cpufreq: move invariance setter calls in cpufreq core

2020-07-01 Thread Viresh Kumar
On 01-07-20, 17:51, Rafael J. Wysocki wrote: > On Wed, Jul 1, 2020 at 5:28 PM Ionela Voinescu > wrote: > > On Wednesday 01 Jul 2020 at 16:16:19 (+0530), Viresh Kumar wrote: > > > On 01-07-20, 10:07, Ionela Voinescu wrote: > > > > setpolicy() > > > > === > > > > This callback does not have

Re: [PATCH 2/8] cpufreq: move invariance setter calls in cpufreq core

2020-07-01 Thread Rafael J. Wysocki
On Wed, Jul 1, 2020 at 5:28 PM Ionela Voinescu wrote: > > Hey, > > On Wednesday 01 Jul 2020 at 16:16:19 (+0530), Viresh Kumar wrote: > > On 01-07-20, 10:07, Ionela Voinescu wrote: > > > From: Valentin Schneider > > > > > > To properly scale its per-entity load-tracking signals, the task scheduler

Re: [PATCH 2/8] cpufreq: move invariance setter calls in cpufreq core

2020-07-01 Thread Ionela Voinescu
Hey, On Wednesday 01 Jul 2020 at 16:16:19 (+0530), Viresh Kumar wrote: > On 01-07-20, 10:07, Ionela Voinescu wrote: > > From: Valentin Schneider > > > > To properly scale its per-entity load-tracking signals, the task scheduler > > needs to be given a frequency scale factor, i.e. some image of t

Re: [PATCH 2/8] cpufreq: move invariance setter calls in cpufreq core

2020-07-01 Thread Viresh Kumar
On 01-07-20, 10:07, Ionela Voinescu wrote: > From: Valentin Schneider > > To properly scale its per-entity load-tracking signals, the task scheduler > needs to be given a frequency scale factor, i.e. some image of the current > frequency the CPU is running at. Currently, this scale can be compute

[PATCH 2/8] cpufreq: move invariance setter calls in cpufreq core

2020-07-01 Thread Ionela Voinescu
From: Valentin Schneider To properly scale its per-entity load-tracking signals, the task scheduler needs to be given a frequency scale factor, i.e. some image of the current frequency the CPU is running at. Currently, this scale can be computed either by using counters (APERF/MPERF on x86, AMU o