HomeFreeBSD

lockf: elide vnode interlock in the common case in lf_purgelocks

Description

lockf: elide vnode interlock in the common case in lf_purgelocks

The interlock was already taken and released when dooming, thus by
API contract locking state cannot be legally installed.

At the same time the state is almost never there to begin with.

Details

Provenance
mjgAuthored on Sep 14 2022, 11:04 PM
Parents
rGad5e1f9c2d78: devfs: stop taking the interlock in devfs_delete
Branches
Unknown
Tags
Unknown