Re: [Xen-devel] [PATCH] cpufreq: only stop ondemand governor if already started

2017-08-09 Thread Christopher Clark
On Wed, Aug 9, 2017 at 2:25 AM, Jan Beulich wrote: On 09.08.17 at 03:57, wrote: >> Avoid panic in cpufreq_gov_stop. > > There's no such function afaics; ... > >> Only execute the CPUFREQ_GOV_STOP logic if the governor has >> actually been started. > > ... all dbs_timer_exit() does is a kill_

Re: [Xen-devel] [PATCH] cpufreq: only stop ondemand governor if already started

2017-08-09 Thread Jan Beulich
>>> On 09.08.17 at 03:57, wrote: > Avoid panic in cpufreq_gov_stop. There's no such function afaics; ... > Only execute the CPUFREQ_GOV_STOP logic if the governor has > actually been started. ... all dbs_timer_exit() does is a kill_timer(), so at the very least the description needs correction.

[Xen-devel] [PATCH] cpufreq: only stop ondemand governor if already started

2017-08-08 Thread Christopher Clark
Avoid panic in cpufreq_gov_stop. Only execute the CPUFREQ_GOV_STOP logic if the governor has actually been started. Patch originated in OpenXT. Signed-off-by: Christopher Clark --- xen/drivers/cpufreq/cpufreq_ondemand.c | 4 1 file changed, 4 insertions(+) diff --git a/xen/drivers/cpufre