Re: [PATCH] cpufreq: intel_pstate: Set P-state upfront in performance mode

2016-10-21 Thread Srinivas Pandruvada
On Wed, 2016-10-19 at 02:57 +0200, Rafael J. Wysocki wrote: > From: Rafael J. Wysocki > > After commit a4675fbc4a7a (cpufreq: intel_pstate: Replace timers with > utilization update callbacks) the cpufreq governor callbacks may not > be invoked on NOHZ_FULL CPUs and,

Re: [PATCH] cpufreq: intel_pstate: Set P-state upfront in performance mode

2016-10-21 Thread Srinivas Pandruvada
On Wed, 2016-10-19 at 02:57 +0200, Rafael J. Wysocki wrote: > From: Rafael J. Wysocki > > After commit a4675fbc4a7a (cpufreq: intel_pstate: Replace timers with > utilization update callbacks) the cpufreq governor callbacks may not > be invoked on NOHZ_FULL CPUs and, in particular, switching to

Re: [PATCH] cpufreq: intel_pstate: Set P-state upfront in performance mode

2016-10-20 Thread Rafael J. Wysocki
On Thu, Oct 20, 2016 at 8:22 PM, Srinivas Pandruvada wrote: > On Wed, 2016-10-19 at 02:57 +0200, Rafael J. Wysocki wrote: >> From: Rafael J. Wysocki >> > > [...] > >> + if (policy->policy == CPUFREQ_POLICY_PERFORMANCE) { >> +

Re: [PATCH] cpufreq: intel_pstate: Set P-state upfront in performance mode

2016-10-20 Thread Rafael J. Wysocki
On Thu, Oct 20, 2016 at 8:22 PM, Srinivas Pandruvada wrote: > On Wed, 2016-10-19 at 02:57 +0200, Rafael J. Wysocki wrote: >> From: Rafael J. Wysocki >> > > [...] > >> + if (policy->policy == CPUFREQ_POLICY_PERFORMANCE) { >> + /* >> + * NOHZ_FULL CPUs need this as the

Re: [PATCH] cpufreq: intel_pstate: Set P-state upfront in performance mode

2016-10-20 Thread Srinivas Pandruvada
On Wed, 2016-10-19 at 02:57 +0200, Rafael J. Wysocki wrote: > From: Rafael J. Wysocki > [...] > + if (policy->policy == CPUFREQ_POLICY_PERFORMANCE) { > + /* > +  * NOHZ_FULL CPUs need this as the governor callback > may not > +

Re: [PATCH] cpufreq: intel_pstate: Set P-state upfront in performance mode

2016-10-20 Thread Srinivas Pandruvada
On Wed, 2016-10-19 at 02:57 +0200, Rafael J. Wysocki wrote: > From: Rafael J. Wysocki > [...] > + if (policy->policy == CPUFREQ_POLICY_PERFORMANCE) { > + /* > +  * NOHZ_FULL CPUs need this as the governor callback > may not > +  * be invoked on them. > +

[PATCH] cpufreq: intel_pstate: Set P-state upfront in performance mode

2016-10-18 Thread Rafael J. Wysocki
From: Rafael J. Wysocki After commit a4675fbc4a7a (cpufreq: intel_pstate: Replace timers with utilization update callbacks) the cpufreq governor callbacks may not be invoked on NOHZ_FULL CPUs and, in particular, switching to the "performance" policy via sysfs may not

[PATCH] cpufreq: intel_pstate: Set P-state upfront in performance mode

2016-10-18 Thread Rafael J. Wysocki
From: Rafael J. Wysocki After commit a4675fbc4a7a (cpufreq: intel_pstate: Replace timers with utilization update callbacks) the cpufreq governor callbacks may not be invoked on NOHZ_FULL CPUs and, in particular, switching to the "performance" policy via sysfs may not have any effect on them.