mm-commits.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [merged] drivers-cpufreq-acpi-cpufreqc-fix-memory-leak.patch removed from -mm tree
@ 2011-07-12 20:00 akpm
  0 siblings, 0 replies; only message in thread
From: akpm @ 2011-07-12 20:00 UTC (permalink / raw)
  To: luming.yu, lenb, luming.yu, mm-commits


The patch titled
     drivers/cpufreq/acpi-cpufreq.c: fix memory leak
has been removed from the -mm tree.  Its filename was
     drivers-cpufreq-acpi-cpufreqc-fix-memory-leak.patch

This patch was dropped because it was merged into mainline or a subsystem tree

The current -mm tree may be found at http://userweb.kernel.org/~akpm/mmotm/

------------------------------------------------------
Subject: drivers/cpufreq/acpi-cpufreq.c: fix memory leak
From: Luming Yu <luming.yu@gmail.com>

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>
---

 drivers/cpufreq/acpi-cpufreq.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff -puN drivers/cpufreq/acpi-cpufreq.c~drivers-cpufreq-acpi-cpufreqc-fix-memory-leak drivers/cpufreq/acpi-cpufreq.c
--- a/drivers/cpufreq/acpi-cpufreq.c~drivers-cpufreq-acpi-cpufreqc-fix-memory-leak
+++ a/drivers/cpufreq/acpi-cpufreq.c
@@ -759,7 +759,7 @@ static void __exit acpi_cpufreq_exit(voi
 
 	cpufreq_unregister_driver(&acpi_cpufreq_driver);
 
-	free_percpu(acpi_perf_data);
+	free_acpi_perf_data();
 }
 
 module_param(acpi_pstate_strict, uint, 0644);
_

Patches currently in -mm which might be from luming.yu@gmail.com are

origin.patch


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2011-07-12 20:00 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-07-12 20:00 [merged] drivers-cpufreq-acpi-cpufreqc-fix-memory-leak.patch removed from -mm tree akpm

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).