HomeFreeBSD

uma: unify layout paths and improve efficiency

Description

uma: unify layout paths and improve efficiency

Unify the keg layout selection paths (keg_small_init, keg_large_init,
keg_cachespread_init), and slightly improve memory efficiecy by:

  • using the padding of the final item to store the slab header,
  • not going OFFPAGE if we have a choice unless it improves efficiency.

Reviewed by: jeff, markj
Sponsored by: Dell EMC Isilon
Differential Revision: https://reviews.freebsd.org/D23048

Details

Provenance
rlibbyAuthored on Jan 9 2020, 2:03 AM
Parents
rG54c5ae804ff5: uma: reorganize flags
Branches
Unknown
Tags
Unknown

Event Timeline