]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
vfs: be less eager to call uma_reclaim(UMA_RECLAIM_DRAIN)
authorMateusz Guzik <mjg@FreeBSD.org>
Tue, 10 Oct 2023 16:15:53 +0000 (16:15 +0000)
committerMateusz Guzik <mjg@FreeBSD.org>
Tue, 10 Oct 2023 16:15:53 +0000 (16:15 +0000)
commit1bf55a739e754765fa2dc15ab6481fe411084be3
treea7c354ab3feaaca1aa6e0f2de7038bf82023f51b
parente49c7cd677df0b8691c828b55919ef37d8aad219
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")
sys/kern/vfs_subr.c