diff options
author | 2019-05-03 14:24:13 +0000 | |
---|---|---|
committer | 2019-05-03 14:24:13 +0000 | |
commit | d0403264978369caf819f77b5d80ad287c346c38 (patch) | |
tree | 9a15640438d1f98d44b77f5113ce44a26597a321 /usr.bin/mandoc/manpath.c | |
parent | Only fetch and upgrade if a new snapshot is available. (diff) | |
download | wireguard-openbsd-d0403264978369caf819f77b5d80ad287c346c38.tar.xz wireguard-openbsd-d0403264978369caf819f77b5d80ad287c346c38.zip |
Make VOP_ADVLOCK() safe to use without kernel lock
All non-dummy implementations of VOP_ADVLOCK() rely on lf_advlock()
which is now safe to use without the kernel lock. Because VOP_ADVLOCK()
does not make the vnode dirty, it is unnecessary to keep track of
in-flight vnode lock operations and the updating of vnode->v_inflight
can be dropped from VOP_ADVLOCK(). This makes VOP_ADVLOCK() safe to use
without the kernel lock.
OK tedu@ mpi@
Diffstat (limited to 'usr.bin/mandoc/manpath.c')
0 files changed, 0 insertions, 0 deletions