aboutsummaryrefslogtreecommitdiff
path: root/usr.sbin
diff options
context:
space:
mode:
authorAlexander Motin <mav@FreeBSD.org>2014-06-08 15:38:40 +0000
committerAlexander Motin <mav@FreeBSD.org>2014-06-08 15:38:40 +0000
commit590d63632198eb31acebf50673f1568c2e8f3fda (patch)
tree26bf3ab6cf2e66501c96a77201b9b8ecf25c1013 /usr.sbin
parentb563304c502c6e905c4d425cbbaca7e1f59e0e44 (diff)
downloadsrc-590d63632198eb31acebf50673f1568c2e8f3fda.tar.gz
src-590d63632198eb31acebf50673f1568c2e8f3fda.zip
Use atomics to modify numvnodes variable.
This allows to mostly avoid lock usage in getnewvnode_[drop_]reserve(), that reduces number of global vnode_free_list_mtx mutex acquisitions from 4 to 2 per NFS request on ZFS, improving SMP scalability. Reviewed by: kib MFC after: 2 weeks Sponsored by: iXsystems, Inc.
Notes
Notes: svn path=/head/; revision=267232
Diffstat (limited to 'usr.sbin')
0 files changed, 0 insertions, 0 deletions