[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <1290554702.1443.70.camel@localhost.localdomain>
Date: Tue, 23 Nov 2010 18:25:02 -0500
From: Eric Paris <eparis@...hat.com>
To: Vegard Nossum <vegard.nossum@...il.com>
Cc: Al Viro <viro@...iv.linux.org.uk>,
LKML <linux-kernel@...r.kernel.org>,
Eugene Teo <eugene@...hat.com>
Subject: Re: Inotify memory leak
On Wed, 2010-11-24 at 00:15 +0100, Vegard Nossum wrote:
> Hi,
>
> Inotify does not clean up properly when it fails to create the file
> descriptor. So it leaks kernel memory. Watch "slabtop" while running
> this program:
>
> #include <sys/inotify.h>
> #include <unistd.h>
potential patch at
http://git.infradead.org/users/eparis/notify.git/shortlog/refs/heads/for-next
Only compiled, not tested. Will try to do that after dinner!
-Eric
--
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