mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* Memory leak on acpi_add_single_object()
@ 2009-09-04 22:34 Luis R. Rodriguez
  2009-09-05  0:15 ` Luis R. Rodriguez
  0 siblings, 1 reply; 2+ messages in thread
From: Luis R. Rodriguez @ 2009-09-04 22:34 UTC (permalink / raw)
  To: ACPI Devel Maling List; +Cc: linux-kernel, Catalin Marinas

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:
    [<ffffffff814e9d55>] kmemleak_alloc+0x25/0x60
    [<ffffffff81119fbb>] __kmalloc+0x16b/0x250
    [<ffffffff812bb379>] kzalloc+0xf/0x11
    [<ffffffff812bb983>] acpi_add_single_object+0x58e/0xd3c
    [<ffffffff812bc34c>] acpi_bus_scan+0x125/0x1af
    [<ffffffff81818842>] acpi_scan_init+0xc8/0xe9
    [<ffffffff818185fd>] acpi_init+0x21f/0x265
    [<ffffffff8100a047>] do_one_initcall+0x37/0x1a0
    [<ffffffff817efa16>] kernel_init+0x164/0x1ba
    [<ffffffff810130ca>] child_rip+0xa/0x20
    [<ffffffffffffffff>] 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:
    [<ffffffff814e9d55>] kmemleak_alloc+0x25/0x60
    [<ffffffff81119fbb>] __kmalloc+0x16b/0x250
    [<ffffffff812bb379>] kzalloc+0xf/0x11
    [<ffffffff812bb983>] acpi_add_single_object+0x58e/0xd3c
    [<ffffffff812bc34c>] acpi_bus_scan+0x125/0x1af
    [<ffffffff81818842>] acpi_scan_init+0xc8/0xe9
    [<ffffffff818185fd>] acpi_init+0x21f/0x265
    [<ffffffff8100a047>] do_one_initcall+0x37/0x1a0
    [<ffffffff817efa16>] kernel_init+0x164/0x1ba
    [<ffffffff810130ca>] child_rip+0xa/0x20
    [<ffffffffffffffff>] 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:
    [<ffffffff814e9d55>] kmemleak_alloc+0x25/0x60
    [<ffffffff81119fbb>] __kmalloc+0x16b/0x250
    [<ffffffff812bb379>] kzalloc+0xf/0x11
    [<ffffffff812bb983>] acpi_add_single_object+0x58e/0xd3c
    [<ffffffff812bc34c>] acpi_bus_scan+0x125/0x1af
    [<ffffffff81818842>] acpi_scan_init+0xc8/0xe9
    [<ffffffff818185fd>] acpi_init+0x21f/0x265
    [<ffffffff8100a047>] do_one_initcall+0x37/0x1a0
    [<ffffffff817efa16>] kernel_init+0x164/0x1ba
    [<ffffffff810130ca>] child_rip+0xa/0x20
    [<ffffffffffffffff>] 0xffffffffffffffff

  Luis

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Memory leak on acpi_add_single_object()
  2009-09-04 22:34 Memory leak on acpi_add_single_object() Luis R. Rodriguez
@ 2009-09-05  0:15 ` Luis R. Rodriguez
  0 siblings, 0 replies; 2+ messages in thread
From: Luis R. Rodriguez @ 2009-09-05  0:15 UTC (permalink / raw)
  To: ACPI Devel Maling List; +Cc: linux-kernel, Catalin Marinas

On Fri, Sep 4, 2009 at 3:34 PM, Luis R. Rodriguez<mcgrof@gmail.com> wrote:
> 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:
>    [<ffffffff814e9d55>] kmemleak_alloc+0x25/0x60
>    [<ffffffff81119fbb>] __kmalloc+0x16b/0x250
>    [<ffffffff812bb379>] kzalloc+0xf/0x11
>    [<ffffffff812bb983>] acpi_add_single_object+0x58e/0xd3c
>    [<ffffffff812bc34c>] acpi_bus_scan+0x125/0x1af
>    [<ffffffff81818842>] acpi_scan_init+0xc8/0xe9
>    [<ffffffff818185fd>] acpi_init+0x21f/0x265
>    [<ffffffff8100a047>] do_one_initcall+0x37/0x1a0
>    [<ffffffff817efa16>] kernel_init+0x164/0x1ba
>    [<ffffffff810130ca>] child_rip+0xa/0x20
>    [<ffffffffffffffff>] 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:
>    [<ffffffff814e9d55>] kmemleak_alloc+0x25/0x60
>    [<ffffffff81119fbb>] __kmalloc+0x16b/0x250
>    [<ffffffff812bb379>] kzalloc+0xf/0x11
>    [<ffffffff812bb983>] acpi_add_single_object+0x58e/0xd3c
>    [<ffffffff812bc34c>] acpi_bus_scan+0x125/0x1af
>    [<ffffffff81818842>] acpi_scan_init+0xc8/0xe9
>    [<ffffffff818185fd>] acpi_init+0x21f/0x265
>    [<ffffffff8100a047>] do_one_initcall+0x37/0x1a0
>    [<ffffffff817efa16>] kernel_init+0x164/0x1ba
>    [<ffffffff810130ca>] child_rip+0xa/0x20
>    [<ffffffffffffffff>] 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:
>    [<ffffffff814e9d55>] kmemleak_alloc+0x25/0x60
>    [<ffffffff81119fbb>] __kmalloc+0x16b/0x250
>    [<ffffffff812bb379>] kzalloc+0xf/0x11
>    [<ffffffff812bb983>] acpi_add_single_object+0x58e/0xd3c
>    [<ffffffff812bc34c>] acpi_bus_scan+0x125/0x1af
>    [<ffffffff81818842>] acpi_scan_init+0xc8/0xe9
>    [<ffffffff818185fd>] acpi_init+0x21f/0x265
>    [<ffffffff8100a047>] do_one_initcall+0x37/0x1a0
>    [<ffffffff817efa16>] kernel_init+0x164/0x1ba
>    [<ffffffff810130ca>] child_rip+0xa/0x20
>    [<ffffffffffffffff>] 0xffffffffffffffff

I get these even after issuing manual scans.

  Luis

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2009-09-05  0:16 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-09-04 22:34 Memory leak on acpi_add_single_object() Luis R. Rodriguez
2009-09-05  0:15 ` Luis R. Rodriguez

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®