Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S264446AbTH1Xdr (ORCPT ); Thu, 28 Aug 2003 19:33:47 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S264450AbTH1Xdq (ORCPT ); Thu, 28 Aug 2003 19:33:46 -0400 Received: from fw.osdl.org ([65.172.181.6]:31682 "EHLO mail.osdl.org") by vger.kernel.org with ESMTP id S264446AbTH1Xdp (ORCPT ); Thu, 28 Aug 2003 19:33:45 -0400 Date: Thu, 28 Aug 2003 16:39:37 -0700 (PDT) From: Patrick Mochel X-X-Sender: mochel@cherise To: Thomas Spatzier cc: linux-kernel@vger.kernel.org Subject: Re: [PATCH] memory leak in sysfs In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 854 Lines: 21 > please verify the following patch. We found a memory leak in sysfs. Entries > in the dentry_cache allocated for objects in sysfs are not freed when the > objects in sysfs are deleted. This effect is due to inconsistent reference > counting in sysfs. Furthermore, when calling sysfs_remove_dir the deleted > directory was not removed from its parent's list of children. The attached > patch should fix the problems. Thanks. Martin Schwidefsky had mentioned this to me at OLS (I presume it's the same problem). I haven't had a chance to look closely at the patch, but it's in my immediate queue.. Pat - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/