]> Git Repo - linux.git/commit
Fix memory leak in cpufreq stats.
authorTu, Xiaobing <[email protected]>
Mon, 22 Oct 2012 23:03:00 +0000 (01:03 +0200)
committerRafael J. Wysocki <[email protected]>
Mon, 22 Oct 2012 23:03:00 +0000 (01:03 +0200)
commite37736777254ce1abc85493a5cacbefe5983b896
treeba7bd9509dc9c771a90460d3416b1adef67cb72f
parente4df1cbcc1f329e53a1fff7450b2229e0addff20
Fix memory leak in cpufreq stats.

When system enters sleep, non-boot CPUs will be disabled.
Cpufreq stats sysfs is created when the CPU is up, but it is not
freed when the CPU is going down. This will cause memory leak.

Signed-off-by: xiaobing tu <[email protected]>
Signed-off-by: guifang tang <[email protected]>
Signed-off-by: Rafael J. Wysocki <[email protected]>
drivers/cpufreq/cpufreq_stats.c
This page took 0.043335 seconds and 4 git commands to generate.