[lkml]   [2004]   [Aug]   [3]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
    SubjectRe: [PATCH 3/5] Free sysfs_dirent on file removal
    On Thu, Jul 29, 2004 at 03:40:31PM -0500, Maneesh Soni wrote:
    > o The following patch implements the code to free up the sysfs_dirents upon
    > directory or file removal. It uses the sysfs_dirent based tree in order
    > to remove the directory contents before removing the directory itself.
    > It could do this without taking dcache_lock in sysfs_remove_dir() as
    > it doesnot use dentry based tree.

    ACK, but some of that (freeing sysfs_dirent upon removal, no smarts, just
    enough to plug the leak) belongs in the first chunk.

    Note that there we shouldn't care about refcounts - that stuff belongs here.
    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to
    More majordomo info at
    Please read the FAQ at

     \ /
      Last update: 2005-03-22 14:04    [W:0.019 / U:95.824 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site