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.

Nick Bowler, Elliptic Technologies (
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at
Please read the FAQ at