diff options
author | mav <mav@FreeBSD.org> | 2014-06-08 15:38:40 +0000 |
---|---|---|
committer | mav <mav@FreeBSD.org> | 2014-06-08 15:38:40 +0000 |
commit | 14c8389ad08e251819c8c35fcaa75e0519595437 (patch) | |
tree | 26bf3ab6cf2e66501c96a77201b9b8ecf25c1013 /bin | |
parent | 18c81a620b48a1fe1d86fe9f1ba4dc0fc06024aa (diff) | |
download | FreeBSD-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 'bin')
0 files changed, 0 insertions, 0 deletions