HomeFreeBSD

malloc: add a helper returning size allocated for given request

Description

malloc: add a helper returning size allocated for given request

Sample usage: kernel modules can decide whether to stick to malloc or
create their own zone.

Reviewed by: markj
Differential Revision: https://reviews.freebsd.org/D27097

Details

Provenance
mjgAuthored on
Reviewer
markj
Differential Revision
D27097: malloc: add a routine to find out usable size without allocating
Parents
rS367388: cryptotest: Add qat(4) coverage
Branches
Unknown
Tags
Unknown