Re: [PATCH v2 9/10] cpufreq: sched: Re-introduce cpufreq_update_util()

2016-03-04 Thread Rafael J. Wysocki
On Fri, Mar 4, 2016 at 11:50 AM, Juri Lelli wrote: > Hi Rafael, > > On 04/03/16 04:18, Rafael J. Wysocki wrote: > > [...] > >> +/** >> + * cpufreq_update_util - Take a note about CPU utilization changes. >> + * @time: Current time. >> + * @util: CPU utilization. >> + * @max: CPU capacity. >> + * >

Re: [PATCH v2 9/10] cpufreq: sched: Re-introduce cpufreq_update_util()

2016-03-04 Thread Juri Lelli
Hi Rafael, On 04/03/16 04:18, Rafael J. Wysocki wrote: [...] > +/** > + * cpufreq_update_util - Take a note about CPU utilization changes. > + * @time: Current time. > + * @util: CPU utilization. > + * @max: CPU capacity. > + * > + * This function is called on every invocation of update_load_avg

[PATCH v2 9/10] cpufreq: sched: Re-introduce cpufreq_update_util()

2016-03-03 Thread Rafael J. Wysocki
From: Rafael J. Wysocki A subsequent change set will introduce a new cpufreq governor using CPU utilization information from the scheduler, so introduce cpufreq_update_util() (again) to allow that information to be passed to the new governor and make cpufreq_trigger_update() call it internally.