steven finney
98586ed8b8
[CPUFREQ] Fix memory leak in cpufreq_stat
...
When a CPU is taken offline in an SMP system, cpufreq_remove_dev()
nulls out the per-cpu policy before cpufreq_stats_free_table() can
make use of it. cpufreq_stats_free_table() then skips the
call to sysfs_remove_group(), leaving about 100 bytes of sysfs-related
memory unclaimed each time a CPU-removal occurs. Break up
cpu_stats_free_table into sysfs and table portions, and
call the sysfs portion early.
Signed-off-by: Steven Finney <steven.finney@palm.com>
Signed-off-by: Dave Jones <davej@redhat.com>
Cc: stable@kernel.org
2011-05-04 11:50:57 -04:00
..
2011-05-04 11:50:57 -04:00
2011-04-11 22:54:42 +02:00
2011-04-24 11:35:40 -04:00
2011-04-07 11:14:49 -07:00
2011-03-31 11:26:23 -03:00
2011-04-20 00:36:11 +02:00
2011-03-31 11:26:23 -03:00
2011-04-07 11:14:49 -07:00
2011-03-31 11:26:23 -03:00
2011-04-21 09:58:42 -07:00
2011-04-12 14:38:57 -07:00
2011-05-04 11:50:57 -04:00
2011-03-31 11:26:23 -03:00
2011-03-22 17:44:12 -07:00
2011-04-11 15:44:38 -07:00
2011-04-07 11:14:49 -07:00
2011-03-31 11:26:23 -03:00
2011-03-22 17:44:15 -07:00
2011-04-11 15:44:38 -07:00
2011-04-21 09:57:56 -07:00
2011-04-07 11:14:49 -07:00
2011-04-19 08:49:56 -07:00
2011-03-18 17:15:11 -07:00
2011-04-17 10:20:19 +02:00
2011-04-21 19:43:59 +02:00
2011-03-17 14:05:34 +01:00
2011-03-31 11:26:23 -03:00
2011-04-18 13:29:03 -07:00
2011-03-31 11:26:23 -03:00
2011-04-14 16:06:54 -07:00
2011-03-31 11:26:23 -03:00
2011-04-07 11:14:49 -07:00
2011-04-21 10:00:00 -07:00
2011-04-19 10:54:44 -07:00
2011-03-31 11:26:23 -03:00
2011-03-31 11:26:23 -03:00
2011-04-12 11:13:00 +02:00
2011-04-14 16:06:55 -07:00
2011-03-31 11:26:23 -03:00
2011-04-09 13:23:50 -07:00
2011-04-17 23:27:16 -07:00
2011-03-31 11:26:23 -03:00
2011-03-31 11:26:23 -03:00
2011-04-19 16:36:24 -07:00
2011-04-21 09:56:35 -07:00
2011-04-13 09:30:40 +08:00
2011-04-13 09:15:55 -07:00
2011-03-31 11:26:23 -03:00
2011-03-29 14:48:19 +02:00
2011-03-31 11:26:23 -03:00
2011-03-31 11:26:23 -03:00
2011-04-14 16:06:56 -07:00
2011-03-31 11:26:23 -03:00
2011-04-18 10:39:38 +02:00
2011-04-08 07:36:14 -07:00
2011-03-31 11:26:23 -03:00
2011-04-19 13:32:46 +02:00
2011-03-31 11:26:23 -03:00
2011-03-30 00:15:49 +02:00
2011-04-11 15:44:38 -07:00
2011-03-31 11:26:23 -03:00
2011-04-12 15:24:23 -07:00
2011-03-31 11:26:23 -03:00
2011-03-31 11:26:23 -03:00
2011-04-19 16:38:50 -07:00
2011-03-31 11:26:23 -03:00
2011-04-14 13:37:07 -07:00
2011-03-31 11:26:23 -03:00
2011-04-12 23:07:42 +08:00
2011-04-21 22:57:00 +09:30
2011-03-28 19:33:04 +02:00
2011-03-31 11:26:23 -03:00
2011-04-07 20:20:24 +00:00
2011-04-20 00:36:11 +02:00