freebsd-skq/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 lib: further adoption of SPDX licensing ID tags. 2017-11-26 02:00:33 +00:00
memstat_internal.h Add two new kernel options to control memory locality on NUMA hardware. 2019-08-06 21:50:34 +00:00
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 Add two new kernel options to control memory locality on NUMA hardware. 2019-08-06 21:50:34 +00:00
memstat.h malloc: export kernel zones instead of relying on them being power-of-2 2020-11-02 17:38:08 +00:00