git: kernel - Use shared spinlock for namecache hash

Matthew Dillon dillon at crater.dragonflybsd.org
Thu Oct 17 00:28:02 PDT 2013


commit b8cd5817bb4ed17de2bf9858bf0eabf825c77bd2
Author: Matthew Dillon <dillon at apollo.backplane.com>
Date:   Thu Oct 17 00:26:48 2013 -0700

    kernel - Use shared spinlock for namecache hash
    
    * Use a shared spinlock when doing lookups in the namecache hash table.
      This wasn't showing up in the contention statistics but it's an issue.
    
    * Use a shared spinlock for the vnode v_spin when scanning v_namecache,
      when possible.

Summary of changes:
 sys/kern/vfs_cache.c | 56 +++++++++++++++++++++++++++++++---------------------
 1 file changed, 34 insertions(+), 22 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/b8cd5817bb4ed17de2bf9858bf0eabf825c77bd2


-- 
DragonFly BSD source repository


More information about the Commits mailing list