HomeFreeBSD

vfs: decouple freevnodes from vnode batching

Description

vfs: decouple freevnodes from vnode batching

In principle one cpu can keep vholding vnodes, while another vdrops
them. In this case it may be the local count will keep growing in an
unbounded manner. Roll it up after a threshold instead.

While here move it out of dpcpu into struct pcpu.

Reviewed by: kib (previous version)
Differential Revision: https://reviews.freebsd.org/D39195

Details

Provenance
mjgAuthored on Mar 21 2023, 7:27 AM
Reviewer
kib
Differential Revision
D39195: vfs: decouple freevnodes from vnode batching
Parents
rGe5d0d1c5fbbc: Rewrite function definitions with identifier lists.
Branches
Unknown
Tags
Unknown