vfs: stop taking the interlock in vnode reclaim
authorMateusz Guzik <mjg@FreeBSD.org>
Fri, 23 Oct 2020 15:49:18 +0000 (15:49 +0000)
committerMateusz Guzik <mjg@FreeBSD.org>
Fri, 23 Oct 2020 15:49:18 +0000 (15:49 +0000)
commit703f3fafa5df4f8c363da21157e0c96318c5d816
tree77a223892929f28c425990d8e16ed31ca2601cb6
parent93fb2b060b66059fb85901bc66bd6ca79321a05c
vfs: stop taking the interlock in vnode reclaim

It no longer protects any of tested fields, keeping all the checks racy.

While here make vtryrecycle drop the vnode on its own. Avoids an additional
lock trip.
sys/kern/vfs_subr.c