From: "Luis R. Rodriguez" Subject: Memory leak on acpi_add_single_object() Date: Fri, 4 Sep 2009 15:34:03 -0700 Message-ID: <43e72e890909041534v4a4ec6ecpc6198be37adcfdef@mail.gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Return-path: Sender: linux-kernel-owner@vger.kernel.org To: ACPI Devel Maling List Cc: linux-kernel@vger.kernel.org, Catalin Marinas List-Id: linux-acpi@vger.kernel.org Here are 3 acpi_add_single_object() kmemleak reports on 2.6.31-rc8 + Catalin's kmemleak tree (git://linux-arm.org/linux-2.6 master). unreferenced object 0xffff88003c405940 (size 64): comm "swapper", pid 1, jiffies 4294892466 hex dump (first 32 bytes): 00 00 00 00 38 00 00 00 00 00 00 00 00 00 00 00 ....8........... 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................ backtrace: [] kmemleak_alloc+0x25/0x60 [] __kmalloc+0x16b/0x250 [] kzalloc+0xf/0x11 [] acpi_add_single_object+0x58e/0xd3c [] acpi_bus_scan+0x125/0x1af [] acpi_scan_init+0xc8/0xe9 [] acpi_init+0x21f/0x265 [] do_one_initcall+0x37/0x1a0 [] kernel_init+0x164/0x1ba [] child_rip+0xa/0x20 [] 0xffffffffffffffff unreferenced object 0xffff88003c405980 (size 64): comm "swapper", pid 1, jiffies 4294892467 hex dump (first 32 bytes): 00 00 00 00 38 00 00 00 00 00 00 00 00 00 00 00 ....8........... 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................ backtrace: [] kmemleak_alloc+0x25/0x60 [] __kmalloc+0x16b/0x250 [] kzalloc+0xf/0x11 [] acpi_add_single_object+0x58e/0xd3c [] acpi_bus_scan+0x125/0x1af [] acpi_scan_init+0xc8/0xe9 [] acpi_init+0x21f/0x265 [] do_one_initcall+0x37/0x1a0 [] kernel_init+0x164/0x1ba [] child_rip+0xa/0x20 [] 0xffffffffffffffff unreferenced object 0xffff88003c4059c0 (size 64): comm "swapper", pid 1, jiffies 4294892470 hex dump (first 32 bytes): 00 00 00 00 38 00 00 00 00 00 00 00 00 00 00 00 ....8........... 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................ backtrace: [] kmemleak_alloc+0x25/0x60 [] __kmalloc+0x16b/0x250 [] kzalloc+0xf/0x11 [] acpi_add_single_object+0x58e/0xd3c [] acpi_bus_scan+0x125/0x1af [] acpi_scan_init+0xc8/0xe9 [] acpi_init+0x21f/0x265 [] do_one_initcall+0x37/0x1a0 [] kernel_init+0x164/0x1ba [] child_rip+0xa/0x20 [] 0xffffffffffffffff Luis