On 24-01-17, 15:49, Philipp Miedl wrote:
Can you please describe how things changed from version 4.4 to 4.9 - I'm not
sure if I understand correctly.
Before 4.7 the governor was just running as a kernel process and triggered
by the (free running) timers and
now its hooked with the scheduler. So the scheduler ensures that the
governor work is not delayed?!
Now the cpufreq callbacks gets called from within the scheduler every few
milliseconds. And once we have crossed the sampling-rate time, we reevaluate the
frequency. Though ondemand/conservative governors still used workqueue until
very recently for most of the platforms. Recently it is replaced by a RT thread.
--
viresh