HomeFreeBSD

vfs: save on atomics on the root vnode for absolute lookups

Description

vfs: save on atomics on the root vnode for absolute lookups

There are 2 back-to-back atomics on the vnode, but we can check upfront if one
is sufficient. Similarly we can handle relative lookups where current working
directory == root directory.

Reviewed by: kib
Differential Revision: https://reviews.freebsd.org/D23427

Details

Provenance
mjgAuthored on
Reviewer
kib
Differential Revision
D23427: vfs: save on atomics on the root vnode for absolute lookups
Parents
rS357358: vfs: add vrefactn
Branches
Unknown
Tags
Unknown