Re: [PATCH 4/4] kmemleak: Report previously found leaks even afteran error

From: Nick Bowler
Date: Tue Oct 04 2011 - 13:46:00 EST


On 2011-09-29 12:02 +0100, Catalin Marinas wrote:
> If an error fatal to kmemleak (like memory allocation failure) happens,
> kmemleak disables itself but it also removes the access to any
> previously found memory leaks. This patch allows read-only access to the
> kmemleak debugfs interface but disables any other action.
>
> Repored-by: Nick Bowler <nbowler@xxxxxxxxxxxxxxxx>

Reported-by: ...

> Signed-off-by: Catalin Marinas <catalin.marinas@xxxxxxx>

Cool, I'll try this out. Kmemleak rarely stays alive for more than a
few days on my desktop before shutting itself down due to an allocation
failure, so this should be really handy.

Cheers,
--
Nick Bowler, Elliptic Technologies (http://www.elliptictech.com/)
--
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/