[PATCH v6 1/3] cpufreq: Add mechanism for registering utilization update callbacks

2016-02-10 Thread Rafael J. Wysocki
From: Rafael J. Wysocki Introduce a mechanism by which parts of the cpufreq subsystem ("setpolicy" drivers or the core) can register callbacks to be executed from cpufreq_update_util() which is invoked by the scheduler's update_load_avg() on CPU utilization changes. This allows the "setpolicy"

[PATCH v6 1/3] cpufreq: Add mechanism for registering utilization update callbacks

2016-02-10 Thread Rafael J. Wysocki
From: Rafael J. Wysocki Introduce a mechanism by which parts of the cpufreq subsystem ("setpolicy" drivers or the core) can register callbacks to be executed from cpufreq_update_util() which is invoked by the scheduler's update_load_avg() on CPU utilization changes.