lkml.org 
[lkml]   [2004]   [Dec]   [3]   [last100]   RSS Feed
Views: [more markup]  [less markup]  [headers]  [forward] 
 
Messages in this thread
/
DateThu, 2 Dec 2004 21:19:32 -0800
FromChris Wright <>
SubjectRe: [PATCH 2.6.10-rc2-bk15] sysfs_dir_close memory leak
* Adam J. Richter (adam@yggdrasil.com) wrote:
> 	sysfs_dir_close did not free the "cursor" sysfs_dirent
> used for keeping track of position in the list of sysfs_dirent nodes.
> Consequently, doing a "find /sys" would leak a sysfs_dirent for
> each of the 1140 directories in my /sys tree, or about 36kB
> each time.

Yeah, I noticed this as well.  Why the BUGON()?

thanks,
-chris
-
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/

\
 
 \ /
  Last update: 2005-03-22 14:08    [from the cache]
©2003-2008