Re: [PATCH][experimantal] cpufreq: governor: Use an atomic variable for synchronization

Viresh Kumar
2015-12-08T13:55:22Z

On 08-12-15, 15:19, Rafael J. Wysocki wrote:
> We know what should be done. We need to wait for the timer function to
> complete, then cancel the work item spawned by it (if any) and then
> cancel the timers set by that work item.

Yeah, there is no race, but it looks ugly to me. I have written it
earlier, and then the spinlock thing looked better to me. :)

--
viresh