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.

Details

Provenance
mjgAuthored on Mar 21 2023, 4:23 AM
Parents
rG245767c2782e: vfs: flip deferred_inact to atomic
Branches
Unknown
Tags
Unknown