[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Date: Tue, 07 Jul 2009 22:30:43 +0100
From: Catalin Marinas <catalin.marinas@....com>
To: Eric Paris <eparis@...hat.com>
Cc: Linux Kernel Mailing List <linux-kernel@...r.kernel.org>
Subject: Re: Possible memory leak via inotify_add_watch
On Tue, 2009-07-07 at 12:24 -0400, Eric Paris wrote:
> On Tue, 2009-07-07 at 14:03 +0100, Catalin Marinas wrote:
> > 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?
>
> http://git.infradead.org/users/eparis/notify.git?a=shortlog;h=refs/heads/for-linus
>
> Has 3 patches on top. I believe only #2 is needed for the memory leak.
I only tested #2 and the leak disappears indeed.
--
Catalin
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists