]> git.baikalelectronics.ru Git - kernel.git/commit
cpufreq: governor: Always schedule work on the CPU running update
authorRafael J. Wysocki <rafael.j.wysocki@intel.com>
Tue, 22 Mar 2016 00:17:43 +0000 (01:17 +0100)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Tue, 22 Mar 2016 22:13:36 +0000 (23:13 +0100)
commit484ed4775ba3752f540ede472d64c5b15b169a6c
tree5f0259e9dfd4d16eb39acfbb3a381953da34798f
parentf79693d753917f116072fb978ce367eec6ffed66
cpufreq: governor: Always schedule work on the CPU running update

Modify dbs_irq_work() to always schedule the process-context work
on the current CPU which also ran the dbs_update_util_handler()
that the irq_work being handled came from.

This causes the entire frequency update handling (involving the
"ondemand" or "conservative" governors) to be carried out by the
CPU whose frequency is to be updated and reduces the overall amount
of inter-CPU noise related to cpufreq.

Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
drivers/cpufreq/cpufreq_governor.c