Re: Possible memory leak via inotify_add_watch

From: Catalin Marinas
Date: Tue Jul 07 2009 - 09:04:22 EST


On Mon, 2009-07-06 at 22:09 -0400, Eric Paris wrote:
> On Mon, 2009-07-06 at 23:03 +0100, Catalin Marinas wrote:
> > Hi Eric,
> >
> > I'm getting a few kmemleak reports like the one below (it may as well
> > be just a false positive). All of these allocations happened during
> > udevd.
>
> Any chance you could give this a shot and see if it fixes it up for you?

I'll give it a try tonight as it only shows on my home machine. But it
doesn't apply cleanly on 2.6.31-rc2, there is a big hunk in
inotify_update_watch() which fails to apply. Are there other additional
patches needed?

--
Catalin

--
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/