projects
/
GitHub
/
exynos8895
/
android_kernel_samsung_universal8895.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bccaeaf
)
[CPUFREQ] fix cpumask memory leak in acpi-cpufreq on cpu hotplug.
author
Luming Yu
<luming.yu@gmail.com>
Fri, 8 Jul 2011 20:37:44 +0000
(16:37 -0400)
committer
Dave Jones
<davej@redhat.com>
Sun, 10 Jul 2011 21:03:04 +0000
(17:03 -0400)
I came across a memory leak during a cyclic cpu-online-offline test.
Signed-off-by: Yu Luming <luming.yu@intel.com>
Cc: Len Brown <lenb@kernel.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Dave Jones <davej@redhat.com>
drivers/cpufreq/acpi-cpufreq.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/cpufreq/acpi-cpufreq.c
b/drivers/cpufreq/acpi-cpufreq.c
index 4e04e1274388744efa6689da9fb7922974182999..596d5dd32f4153826e7a05d73dc818bd522b691b 100644
(file)
--- a/
drivers/cpufreq/acpi-cpufreq.c
+++ b/
drivers/cpufreq/acpi-cpufreq.c
@@
-759,7
+759,7
@@
static void __exit acpi_cpufreq_exit(void)
cpufreq_unregister_driver(&acpi_cpufreq_driver);
- free_
percpu(acpi_perf_data
);
+ free_
acpi_perf_data(
);
}
module_param(acpi_pstate_strict, uint, 0644);