Page MenuHomeFreeBSD

vfs: decouple freevnodes from vnode batching
ClosedPublic

Authored by mjg on Mar 21 2023, 11:38 PM.
Tags
None
Referenced Files
Unknown Object (File)
May 10 2026, 4:26 PM
Unknown Object (File)
May 7 2026, 1:50 PM
Unknown Object (File)
May 6 2026, 10:27 PM
Unknown Object (File)
May 4 2026, 3:33 PM
Unknown Object (File)
May 3 2026, 6:56 PM
Unknown Object (File)
May 3 2026, 6:17 PM
Unknown Object (File)
May 1 2026, 11:11 AM
Unknown Object (File)
Apr 29 2026, 2:02 PM
Subscribers

Details

Summary
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 a
manner limited only by capacity of the local counter.
Roll it up after a threshold instead.

While here move it out of dpcpu into struct pcpu.

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable