[lkml]   [2006]   [Oct]   [26]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
    SubjectRe: [Q] missing unused dentry in prune_dcache()?
    Vasily Averin <> wrote:

    > I would note that in first two hunks you have decremented
    > dentry_stat.nr_unused correctly, under dcache_lock. Probably it's better to
    > count freed dentries only in third case and corrects dentry_stat.nr_unused
    > value inside shrink_dcache_for_umount_subtree() function before return.

    Maybe, maybe not. This way we only touch the dentry_stat cacheline once, if
    at all. I'm not sure it'd make much difference though.

    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: 2006-10-26 16:11    [W:0.017 / U:6.652 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site