summaryrefslogtreecommitdiffstats
path: root/usr.sbin/crunch
diff options
context:
space:
mode:
authormav <mav@FreeBSD.org>2014-06-08 15:38:40 +0000
committermav <mav@FreeBSD.org>2014-06-08 15:38:40 +0000
commit14c8389ad08e251819c8c35fcaa75e0519595437 (patch)
tree26bf3ab6cf2e66501c96a77201b9b8ecf25c1013 /usr.sbin/crunch
parent18c81a620b48a1fe1d86fe9f1ba4dc0fc06024aa (diff)
downloadFreeBSD-src-14c8389ad08e251819c8c35fcaa75e0519595437.zip
FreeBSD-src-14c8389ad08e251819c8c35fcaa75e0519595437.tar.gz
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.
Diffstat (limited to 'usr.sbin/crunch')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud