HomeFreeBSD

vfs: trylock vnode requeue

Description

vfs: trylock vnode requeue

The quasi-LRU still gets in the way for example when doing an
incremental bzImage build, with vnode_list lock being at the
top of the profile. Further damage control the problem by trylocking.

Note the entire mechanism desperately wants to be reaped out in favor
of something(tm) which both scales in a multicore setting and provides
sensible replacement policy.

With this change everything vfs almost disappears from the on CPU
flamegraph, what is left is tons of contention in the VM.

(cherry picked from commit 138a5dafba312ff39ce0eefdbe34de95519e600d)

Details

Provenance
mjgAuthored on Mar 21 2023, 4:23 AM
Parents
rG15ebbf9033c3: tests: Fix build on mips after 33d7da6b
Branches
Unknown
Tags
Unknown