kernel - Use shared spinlock for namecache hash
authorMatthew Dillon <dillon@apollo.backplane.com>
Thu, 17 Oct 2013 07:26:48 +0000 (00:26 -0700)
committerMatthew Dillon <dillon@apollo.backplane.com>
Thu, 17 Oct 2013 07:26:48 +0000 (00:26 -0700)
commitb8cd5817bb4ed17de2bf9858bf0eabf825c77bd2
treeacb25fe8ef35a3c1c0f00c6d6eb40147da2c1b33
parentf47812448fb96f6b04cfcf9fe3002e1086d4899b
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.
sys/kern/vfs_cache.c