summaryrefslogtreecommitdiff
path: root/Documentation/vgaarbiter.txt
diff options
context:
space:
mode:
authorKonstantin Khlebnikov <khlebnikov@openvz.org>2012-12-15 00:22:02 +0100
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>2013-01-03 13:11:18 +0100
commit56836fb4dab8fe906b934b231b04c33c180f8da5 (patch)
tree4ad98361223482eeb8b0f3a4485b7bb4ba4c012d /Documentation/vgaarbiter.txt
parentd1c3ed669a2d452cacfb48c2d171a1f364dae2ed (diff)
cpufreq / stats: fix race between stats allocation and first usage
This patch forces complete struct cpufreq_stats allocation for all cpus before registering CPUFREQ_TRANSITION_NOTIFIER notifier, otherwise in some conditions cpufreq_stat_notifier_trans() can be called in the middle of stats allocation, in this case cpufreq_stats_table already exists, but stat->freq_table is NULL. Signed-off-by: Konstantin Khlebnikov <khlebnikov@openvz.org> Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'Documentation/vgaarbiter.txt')
0 files changed, 0 insertions, 0 deletions