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

2017-08-10 Thread Jan Beulich
>>> On 09.08.17 at 21:38, wrote: > On CPUFREQ_GOV_STOP in cpufreq_governor_dbs, shortcut to > return success if the governor is already stopped. > > Avoid executing dbs_timer_exit, to prevent tripping an assertion > within a call to kill_timer on a timer that has

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

2017-08-09 Thread Christopher Clark
On CPUFREQ_GOV_STOP in cpufreq_governor_dbs, shortcut to return success if the governor is already stopped. Avoid executing dbs_timer_exit, to prevent tripping an assertion within a call to kill_timer on a timer that has not been prepared with init_timer, if the CPUFREQ_GOV_START case has not run