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)

Details

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