HomeFreeBSD

Make UMA to not blindly force offpage slab header allocation for large
rS258693Unpublished

Unpublished Commit ยท Learn More

No further details are available.

Description

Make UMA to not blindly force offpage slab header allocation for large
(> PAGE_SIZE) zones. If zone is not multiple to PAGE_SIZE, there may
be enough space for the header at the last page, so we may avoid extra
header memory allocation and hash table update/lookup.

ZFS creates bunch of odd-sized UMA zones (5120, 6144, 7168, 10240, 14336).
This change gives good use to at least some of otherwise lost memory there.

Reviewed by: avg

Details

Provenance
mavAuthored on
Parents
rS258692: Add constants for use in interrogating various fiber and copper connectors
Branches
Unknown
Tags
Unknown

Event Timeline