Re: [PATCH V4] cpufreq: governor: Quit work-handlers early if governor is stopped

2015-11-05 Thread Rafael J. Wysocki
On Thursday, October 29, 2015 08:08:38 AM Viresh Kumar wrote: > gov_queue_work() acquires cpufreq_governor_lock to allow > cpufreq_governor_stop() to drain delayed work items possibly scheduled > on CPUs that share the policy with a CPU being taken offline. > > However, the same goal may be achiev

[PATCH V4] cpufreq: governor: Quit work-handlers early if governor is stopped

2015-10-28 Thread Viresh Kumar
gov_queue_work() acquires cpufreq_governor_lock to allow cpufreq_governor_stop() to drain delayed work items possibly scheduled on CPUs that share the policy with a CPU being taken offline. However, the same goal may be achieved in a more straightforward way if the policy pointer in the struct cpu