Re: [PATCH 2.6.10-rc2-bk15] sysfs_dir_close memory leak
From: Chris Wright
Date: Fri Dec 03 2004 - 00:20:50 EST
* Adam J. Richter (adam@xxxxxxxxxxxxx) 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@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/