Re: [PATCH 2.6.18-rc4 00/10] Kernel memory leak detector 0.9

From: Michal Piotrowski
Date: Fri Aug 18 2006 - 10:13:11 EST


On 18/08/06, Michal Piotrowski <michal.k.k.piotrowski@xxxxxxxxx> wrote:
On 18/08/06, Catalin Marinas <catalin.marinas@xxxxxxxxx> wrote:
> On 18/08/06, Michal Piotrowski <michal.k.k.piotrowski@xxxxxxxxx> wrote:
> > Something doesn't work. It appears while udev start.
>
> Could you try the attached patch? It has some improvements from the
> yesterday's one and also prints extra information when that error
> happens.

Problem fixed, thank. I'll do some tests.

Lockdep still detects this bug

=======================================================
[ INFO: possible circular locking dependency detected ]
-------------------------------------------------------
events/0/8 is trying to acquire lock:
(memleak_lock){++..}, at: [<c0176a11>] memleak_free+0x9e/0x16f

but task is already holding lock:
(&parent->list_lock){++..}, at: [<c0174f29>] drain_array+0x49/0xad

which lock already depends on the new lock.
etc.


>
> Thanks.
>
> --
> Catalin

Regards,
Michal

--
Michal K. K. Piotrowski
LTG - Linux Testers Group
(http://www.stardust.webpages.pl/ltg/wiki/)
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/