Forum | Documentation | Website | Blog

Skip to content
Snippets Groups Projects
  1. May 16, 2019
  2. May 14, 2019
  3. May 10, 2019
    • Viresh Kumar's avatar
      cpufreq: Call transition notifier only once for each policy · df24014a
      Viresh Kumar authored
      
      Currently, the notifiers are called once for each CPU of the policy->cpus
      cpumask. It would be more optimal if the notifier can be called only
      once and all the relevant information be provided to it. Out of the 23
      drivers that register for the transition notifiers today, only 4 of them
      do per-cpu updates and the callback for the rest can be called only once
      for the policy without any impact.
      
      This would also avoid multiple function calls to the notifier callbacks
      and reduce multiple iterations of notifier core's code (which does
      locking as well).
      
      This patch adds pointer to the cpufreq policy to the struct
      cpufreq_freqs, so the notifier callback has all the information
      available to it with a single call. The five drivers which perform
      per-cpu updates are updated to use the cpufreq policy. The freqs->cpu
      field is redundant now and is removed.
      
      Acked-by: David S. Miller <davem@davemloft.net> (sparc)
      Signed-off-by: default avatarViresh Kumar <viresh.kumar@linaro.org>
      Signed-off-by: default avatarRafael J. Wysocki <rafael.j.wysocki@intel.com>
      df24014a
  4. May 07, 2019
  5. May 06, 2019
  6. May 03, 2019
  7. May 01, 2019
  8. Apr 30, 2019
  9. Apr 29, 2019
  10. Apr 28, 2019
  11. Apr 26, 2019
  12. Apr 25, 2019
  13. Apr 24, 2019