HomeFreeBSD

vfs: be less eager to call uma_reclaim(UMA_RECLAIM_DRAIN)

Description

vfs: be less eager to call uma_reclaim(UMA_RECLAIM_DRAIN)

In face of vnode shortage the count very easily can go few units above
the limit before going back down.

Calling uma_reclaim results in massive amount of work which in this case
is not warranted.

Sponsored by: Rubicon Communications, LLC ("Netgate")

(cherry picked from commit 1bf55a739e754765fa2dc15ab6481fe411084be3)
(cherry picked from commit 9ff38b3d881ce910803500fe3460f8283c96b4b2)

Approved by: re (gjb)

Details

Provenance
mjgAuthored on Oct 10 2023, 4:15 PM
Parents
rG3e0c37999a5e: vfs: don't provoke recycling non-free vnodes without a good reason
Branches
Unknown
Tags
Unknown