HomeFreeBSD

malloc: extend malloc_usable_size() for contigmalloc

Description

malloc: extend malloc_usable_size() for contigmalloc

Extend malloc_usable_size() for contigmalloc; it seems the only
outside consumer is LinuxKPI ksize() which by itself has little to
no consumer either.

Sponsored by: The FreeBSD Foundation
MFC after: 3 days
Suggested by: jhb (see D46657)
Reviewed by: jhb, markj
Fixes: 9e6544dd6e02
Differential Revision: https://reviews.freebsd.org/D49571