HomeFreeBSD

vfs: allow v_holdcnt to transition 0->1 without the interlock

Description

vfs: allow v_holdcnt to transition 0->1 without the interlock

Since r356672 ("vfs: rework vnode list management") there is nothing to do
apart from altering freevnodes count, but this much can be safely done based
on the result of atomic_fetchadd.

Reviewed by: kib
Tested by: pho
Differential Revision: https://reviews.freebsd.org/D23186

Details

Provenance
mjgAuthored on Jan 19 2020, 5:47 PM
Parents
rG059cb4843b70: cache: counter_u64_add_protected -> counter_u64_add
Branches
Unknown
Tags
Unknown

Event Timeline