Messages in this thread | | | Date | Thu, 28 Aug 2003 16:39:37 -0700 (PDT) | From | Patrick Mochel <> | Subject | Re: [PATCH] memory leak in sysfs |
| |
> 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/
| |