Re: [Update][PATCH 3/3] cpufreq: governor: Replace timers with utilization update callbacks

2016-02-04 Thread Rafael J. Wysocki
On Thursday, February 04, 2016 10:19:59 AM Viresh Kumar wrote: > On 03-02-16, 02:16, Rafael J. Wysocki wrote: > > Index: linux-pm/drivers/cpufreq/cpufreq_governor.c > > -void gov_add_timers(struct cpufreq_policy *policy, unsigned int delay) > > +void gov_set_update_util(struct cpu_common_dbs_info

Re: [Update][PATCH 3/3] cpufreq: governor: Replace timers with utilization update callbacks

2016-02-04 Thread Rafael J. Wysocki
On Thursday, February 04, 2016 10:19:59 AM Viresh Kumar wrote: > On 03-02-16, 02:16, Rafael J. Wysocki wrote: > > Index: linux-pm/drivers/cpufreq/cpufreq_governor.c > > -void gov_add_timers(struct cpufreq_policy *policy, unsigned int delay) > > +void gov_set_update_util(struct cpu_common_dbs_info

Re: [Update][PATCH 3/3] cpufreq: governor: Replace timers with utilization update callbacks

2016-02-03 Thread Viresh Kumar
On 03-02-16, 02:16, Rafael J. Wysocki wrote: > Index: linux-pm/drivers/cpufreq/cpufreq_governor.c > -void gov_add_timers(struct cpufreq_policy *policy, unsigned int delay) > +void gov_set_update_util(struct cpu_common_dbs_info *shared, > + unsigned int delay_us) > { > +

Re: [Update][PATCH 3/3] cpufreq: governor: Replace timers with utilization update callbacks

2016-02-03 Thread Viresh Kumar
On 03-02-16, 02:16, Rafael J. Wysocki wrote: > Index: linux-pm/drivers/cpufreq/cpufreq_governor.c > -void gov_add_timers(struct cpufreq_policy *policy, unsigned int delay) > +void gov_set_update_util(struct cpu_common_dbs_info *shared, > + unsigned int delay_us) > { > +

[Update][PATCH 3/3] cpufreq: governor: Replace timers with utilization update callbacks

2016-02-02 Thread Rafael J. Wysocki
From: Rafael J. Wysocki Subject: [PATCH] cpufreq: governor: Replace timers with utilization update callbacks Instead of using a per-CPU deferrable timer for queuing up governor work items, register a utilization update callback that will be invoked from the scheduler on utilization changes.

[Update][PATCH 3/3] cpufreq: governor: Replace timers with utilization update callbacks

2016-02-02 Thread Rafael J. Wysocki
From: Rafael J. Wysocki Subject: [PATCH] cpufreq: governor: Replace timers with utilization update callbacks Instead of using a per-CPU deferrable timer for queuing up governor work items, register a utilization update callback that will be invoked from the scheduler