HomeFreeBSD

Fix a logic error in the item size calculation for internal UMA zones.

Description

Fix a logic error in the item size calculation for internal UMA zones.

Kegs for internal zones always keep the slab header in the slab itself.
Therefore, when determining the allocation size, we need to take the
slab header size into account.

Reported and tested by: ae, rakuco
Reviewed by: avg
MFC after: 2 weeks
Differential Revision: https://reviews.freebsd.org/D12342

Details

Provenance
markjAuthored on
Reviewer
avg
Differential Revision
D12342: Fix keg_large_init() for internal zones
Parents
rS323543: Don't (try to) build lio(4) if the SOURCELESS_UCODE is set.
Branches
Unknown
Tags
Unknown