]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
vfs: provide fake locking primitives for the crossmp vnode
authorMateusz Guzik <mjg@FreeBSD.org>
Fri, 2 Dec 2016 18:03:15 +0000 (18:03 +0000)
committerMateusz Guzik <mjg@FreeBSD.org>
Fri, 2 Dec 2016 18:03:15 +0000 (18:03 +0000)
commita2d35545429117e68fbcbc68e14ad55e84265d69
treec9ed9a1a07ac39194843b2d21c69a583d684f690
parent488f14860469fa61e897db51551c74532d17a883
vfs: provide fake locking primitives for the crossmp vnode

Since the vnode is only expected to be shared locked, we can save a
little overhead by only pretending we are locking in the first place.

Reviewed by: kib
Tested by: pho
sys/kern/vfs_lookup.c