HomeFreeBSD

Use atomics in more cases for object references. We now can completely

Description

Use atomics in more cases for object references. We now can completely
omit the object lock if we are above a certain threshold. Hold only a
single vnode reference when the vnode object has any ref > 0. This
allows us to only lock the object and vnode on 0-1 and 1-0 transitions.

Differential Revision: https://reviews.freebsd.org/D22452

Details

Provenance
jeffAuthored on Nov 27 2019, 12:39 AM
Parents
rGbeb8beef81be: Refactor uma_zalloc_arg(). It is a mess of gotos and code which doesn't
Branches
Unknown
Tags
Unknown