1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-05 09:14:03 +00:00
freebsd/lib/libmemstat
Mateusz Guzik bdcc222644 malloc: move malloc_type_internal into malloc_type
According to code comments the original motivation was to allow for
malloc_type_internal changes without ABI breakage. This can be trivially
accomplished by providing spare fields and versioning the struct, as
implemented in the patch below.

The upshots are one less memory indirection on each alloc and disappearance
of mt_zone.

Reviewed by:	markj
Differential Revision:	https://reviews.freebsd.org/D27104
2020-11-06 21:33:59 +00:00
..
libmemstat.3
Makefile pkgbase: Create a FreeBSD-utilities package and make it the default one 2019-09-05 14:15:47 +00:00
Makefile.depend Update Makefile.depend files 2019-12-11 17:37:53 +00:00
memstat_all.c
memstat_internal.h
memstat_malloc.c malloc: move malloc_type_internal into malloc_type 2020-11-06 21:33:59 +00:00
memstat_uma.c memstat_kvm_uma: fix reading of uma_zone_domain structures 2020-08-28 19:50:40 +00:00
memstat.c
memstat.h malloc: export kernel zones instead of relying on them being power-of-2 2020-11-02 17:38:08 +00:00