WANG Cong
feff8fa007
sched: Fix a memory leak in __sdt_free()
This patch fixes the following memory leak:
unreferenced object 0xffff880107266800 (size 512):
comm "sched-powersave", pid 3718, jiffies 4323097853 (age 27495.450s)
hex dump (first 32 bytes):
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
backtrace:
[<ffffffff81133940>] create_object+0x187/0x28b
[<ffffffff814ac103>] kmemleak_alloc+0x73/0x98
[<ffffffff811232ba>] __kmalloc_node+0x104/0x159
[<ffffffff81044b98>] kzalloc_node.clone.97+0x15/0x17
[<ffffffff8104cb90>] build_sched_domains+0xb7/0x7f3
[<ffffffff8104d4df>] partition_sched_domains+0x1db/0x24a
[<ffffffff8109ee4a>] do_rebuild_sched_domains+0x3b/0x47
[<ffffffff810a00c7>] rebuild_sched_domains+0x10/0x12
[<ffffffff8104d5ba>] sched_power_savings_store+0x6c/0x7b
[<ffffffff8104d5df>] sched_mc_power_savings_store+0x16/0x18
[<ffffffff8131322c>] sysdev_class_store+0x20/0x22
[<ffffffff81193876>] sysfs_write_file+0x108/0x144
[<ffffffff81135b10>] vfs_write+0xaf/0x102
[<ffffffff81135d23>] sys_write+0x4d/0x74
[<ffffffff814c8a42>] system_call_fastpath+0x16/0x1b
[<ffffffffffffffff>] 0xffffffffffffffff
Signed-off-by: WANG Cong <amwang@redhat.com>
Signed-off-by: Peter Zijlstra <a.p.zijlstra@chello.nl>
Cc: stable@kernel.org # 3.0
Link: http://lkml.kernel.org/r/1313671017-4112-1-git-send-email-amwang@redhat.com
Signed-off-by: Ingo Molnar <mingo@elte.hu>
2011-08-29 12:27:01 +02:00
..
2011-08-01 13:39:40 -10:00
2011-07-21 20:41:55 +02:00
2011-07-26 16:49:45 -07:00
2011-08-23 10:36:51 -07:00
2011-08-14 13:34:31 +02:00
2011-07-22 16:52:18 -07:00
2011-08-19 10:47:07 -07:00
2011-06-14 22:48:46 -04:00
2011-07-20 14:10:11 -07:00
2011-07-26 16:49:47 -07:00
2011-07-26 16:49:47 -07:00
2011-05-19 18:51:57 +10:00
2011-05-26 17:12:34 -07:00
2011-07-27 19:26:38 -07:00
2011-07-30 00:08:53 -07:00
2011-07-25 20:57:15 -07:00
2011-07-26 16:49:47 -07:00
2011-08-11 11:24:42 -07:00
2011-07-14 12:59:14 +03:00
2011-07-26 16:49:44 -07:00
2011-05-20 08:56:56 +02:00
2011-08-11 11:24:42 -07:00
2011-08-04 09:09:27 +02:00
2011-05-25 15:31:58 -07:00
2011-06-29 09:59:17 -04:00
2011-06-10 15:15:40 +02:00
2011-06-10 14:55:36 +02:00
2011-08-03 22:03:29 -10:00
2011-07-15 15:11:47 -04:00
2011-05-28 17:02:57 +02:00
2011-08-09 11:57:35 +02:00
2011-08-05 23:57:33 +02:00
2011-07-24 22:06:04 +09:30
2011-05-25 08:39:17 -07:00
2011-07-25 20:57:14 -07:00
2011-07-20 01:44:07 -04:00
2011-07-26 16:49:45 -07:00
2011-07-24 22:06:04 +09:30
2011-07-08 22:21:58 +02:00
2011-07-08 14:02:53 +02:00
2011-05-23 13:59:54 +02:00
2011-05-24 12:10:51 +02:00
2011-08-25 16:25:34 -07:00
2011-05-26 17:12:37 -07:00
2011-07-18 21:38:33 +02:00
2011-07-26 16:49:47 -07:00
2011-05-20 12:50:29 -07:00
2011-07-26 16:49:47 -07:00
2011-07-20 10:50:12 -07:00
2011-07-26 16:49:47 -07:00
2011-07-13 08:17:56 -07:00
2011-06-16 16:12:05 -07:00
2011-07-30 21:21:39 +02:00
2011-07-08 14:02:53 +02:00
2011-07-26 16:49:47 -07:00
2011-07-01 10:39:08 +02:00
2011-07-22 12:47:22 +02:00
2011-07-24 09:07:03 -07:00
2011-07-01 10:39:08 +02:00
2011-05-28 17:02:54 +02:00
2011-08-29 12:27:01 +02:00
2011-07-27 12:53:36 -07:00
2011-06-17 10:17:12 +02:00
2011-07-20 10:50:12 -07:00
2011-06-14 22:48:52 -04:00
2011-07-26 16:49:47 -07:00
2011-08-26 15:09:58 -07:00
2011-08-25 10:17:28 -07:00
2011-08-12 16:21:35 -05:00
2011-08-12 16:21:35 -05:00
2011-07-20 14:10:18 -07:00
2011-08-03 14:25:20 -10:00
2011-06-03 15:02:32 +02:00
2011-07-14 17:25:04 -04:00
2011-07-22 15:07:15 -07:00