diff options
author | Mateusz Guzik <mjg@FreeBSD.org> | 2020-11-09 22:58:29 +0000 |
---|---|---|
committer | Mateusz Guzik <mjg@FreeBSD.org> | 2020-11-09 22:58:29 +0000 |
commit | 8e6526e966078dae07b2cfbcb5a88b8f486deb56 (patch) | |
tree | d5427b350588d9a6f3c2b37d633d433770b0809b /sys/sys/malloc.h | |
parent | 283c76c7c3f2f634f19f303a771a3f81fe890cab (diff) | |
download | src-8e6526e966078dae07b2cfbcb5a88b8f486deb56.tar.gz src-8e6526e966078dae07b2cfbcb5a88b8f486deb56.zip |
malloc: retire mt_stats_zone in favor of pcpu_zone_64
Reviewed by: markj, imp
Differential Revision: https://reviews.freebsd.org/D27142
Notes
Notes:
svn path=/head/; revision=367532
Diffstat (limited to 'sys/sys/malloc.h')
-rw-r--r-- | sys/sys/malloc.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/sys/sys/malloc.h b/sys/sys/malloc.h index fe8fb5492b7a..5b2e6e125018 100644 --- a/sys/sys/malloc.h +++ b/sys/sys/malloc.h @@ -92,6 +92,9 @@ struct malloc_type_stats { uint64_t _mts_reserved3; /* Reserved field. */ }; +_Static_assert(sizeof(struct malloc_type_stats) == 64, + "allocations come from pcpu_zone_64"); + /* * Index definitions for the mti_probes[] array. */ |