diff options
author | mjg <mjg@FreeBSD.org> | 2016-12-31 12:06:27 +0000 |
---|---|---|
committer | mjg <mjg@FreeBSD.org> | 2016-12-31 12:06:27 +0000 |
commit | 1af6bcb527e97aaddea67934bd4fcbd6cb8a1d01 (patch) | |
tree | 6bcdec0ca237f2d33a315bfad1b0af77fdadd516 /sys/cddl | |
parent | f83e24b3d82a425ec8bd4bb259f6c75ce6786280 (diff) | |
download | FreeBSD-src-1af6bcb527e97aaddea67934bd4fcbd6cb8a1d01.zip FreeBSD-src-1af6bcb527e97aaddea67934bd4fcbd6cb8a1d01.tar.gz |
MFC r309893,r309929:
vfs: add vrefact, to be used when the vnode has to be already active
This allows blind increment of relevant counters which under contention
is cheaper than inc-not-zero loops at least on amd64.
Use it in some of the places which are guaranteed to see already active
vnodes.
==
vfs: use vrefact in getcwd and fchdir
Diffstat (limited to 'sys/cddl')
0 files changed, 0 insertions, 0 deletions