From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S934423AbZIDWeX (ORCPT ); Fri, 4 Sep 2009 18:34:23 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S934394AbZIDWeV (ORCPT ); Fri, 4 Sep 2009 18:34:21 -0400 Received: from mail-iw0-f175.google.com ([209.85.223.175]:44159 "EHLO mail-iw0-f175.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S934368AbZIDWeV (ORCPT ); Fri, 4 Sep 2009 18:34:21 -0400 DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:from:date:message-id:subject:to:cc:content-type; b=MgfYcaJCnoGFAboKqVt/EeXvODG+EYzTkJuvpTK9t39fXJDsHiQMZD9W0of4fWQ5wa cMbZPBVf1lR1WqbWIcnKAJdQeaUvcKoiv9aZL4f4ZUotOhksDSe3dZeJQ3IxSytOU6k+ cA81qJXgypNUA7ict51ZTZ6c5Hk8efBwmYIZM= MIME-Version: 1.0 From: "Luis R. Rodriguez" Date: Fri, 4 Sep 2009 15:34:03 -0700 Message-ID: <43e72e890909041534v4a4ec6ecpc6198be37adcfdef@mail.gmail.com> Subject: Memory leak on acpi_add_single_object() To: ACPI Devel Maling List Cc: linux-kernel@vger.kernel.org, Catalin Marinas Content-Type: text/plain; charset=UTF-8 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@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