HomeFreeBSD

Use a separate lock for the zone and keg. This provides concurrency

Description

Use a separate lock for the zone and keg. This provides concurrency
between populating buckets from the slab layer and fetching full buckets
from the zone layer. Eliminate some nonsense locking patterns where
we lock to fetch a single variable.

Reviewed by: markj
Differential Revision: https://reviews.freebsd.org/D22828

Details

Provenance
jeffAuthored on Jan 4 2020, 3:15 AM
Parents
rG4bd61e19a2c2: Use atomics for the zone limit and sleeper count. This relies on the
Branches
Unknown
Tags
Unknown

Event Timeline