HomeFreeBSD

uma: Use LIFO for non-SMR bucket caches

Description

uma: Use LIFO for non-SMR bucket caches

When SMR was introduced, zone_put_bucket() was changed to always place
full buckets at the end of the queue. However, it is generally
preferable to use recently used buckets since their items are more
likely to be resident in cache. So, for buckets that have no constraint
on item reuse, use a last-in-first-out ordering as we did before.

Reviewed by: rlibby
Tested by: dhw, glebius
Sponsored by: The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D26426

Details

Provenance
markjAuthored on Oct 2 2020, 7:04 PM
Parents
rG952c8964ba93: uma: Remove newlines from panic messages
Branches
Unknown
Tags
Unknown

Event Timeline