diff options
author | Tu, Xiaobing <xiaobing.tu@intel.com> | 2012-10-23 01:03:00 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2013-03-14 11:29:51 -0700 |
commit | f39e4f133d52fad48f5c823b6c8a867caf101677 (patch) | |
tree | 11fb57f56fb2444218c217f865350dc375a0a543 /kernel | |
parent | cc6de71e8c24edbad16e45c011013d40eb903ffd (diff) | |
download | linux-f39e4f133d52fad48f5c823b6c8a867caf101677.tar.gz |
Fix memory leak in cpufreq stats.
commit e37736777254ce1abc85493a5cacbefe5983b896 upstream.
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 <xiaobing.tu@intel.com>
Signed-off-by: guifang tang <guifang.tang@intel.com>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Cc: Colin Cross <ccross@google.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'kernel')
0 files changed, 0 insertions, 0 deletions