diff options
author | Alexander Motin <mav@FreeBSD.org> | 2014-06-08 15:38:40 +0000 |
---|---|---|
committer | Alexander Motin <mav@FreeBSD.org> | 2014-06-08 15:38:40 +0000 |
commit | 590d63632198eb31acebf50673f1568c2e8f3fda (patch) | |
tree | 26bf3ab6cf2e66501c96a77201b9b8ecf25c1013 /libexec/telnetd/Makefile | |
parent | b563304c502c6e905c4d425cbbaca7e1f59e0e44 (diff) | |
download | src-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 'libexec/telnetd/Makefile')
0 files changed, 0 insertions, 0 deletions