HomeFreeBSD

uma dbg: flexible size for slab debug bitset too

Description

uma dbg: flexible size for slab debug bitset too

Recently (r355315) the size of the struct uma_slab bitset field us_free
became dynamic instead of conservative. Now, make the debug bitset
size dynamic too. The debug bitset is INVARIANTS-only, so in fact we
don't care too much about the space savings that results from this, but
enabling minimally-sized slabs on INVARIANTS builds is still important
in order to be able to test new slab layouts effectively.

Reviewed by: jeff (previous version), markj (previous version)
Sponsored by: Dell EMC Isilon
Differential Revision: https://reviews.freebsd.org/D22759

Details

Provenance
rlibbyAuthored on
Reviewer
jeff
Differential Revision
D22759: uma dbg: flexible size for slab debugfree bitset too
Parents
rS355745: MFC 354924:
Branches
Unknown
Tags
Unknown