diff options
author | Michael Clark <michaeljclark@mac.com> | 2022-01-19 08:03:39 +1300 |
---|---|---|
committer | Michael Clark <michaeljclark@mac.com> | 2022-01-19 10:14:08 +1300 |
commit | 9da8788daeb43c3cb796ac8d6cbfef7574211a97 (patch) | |
tree | 4c740ed8f3a6c9d983b720e8e4671f2036f17f51 /include/mimalloc-types.h | |
parent | 38a03229c89afbf2722e48c63da696bf11589dee (diff) |
mimalloc-types: amend comment adding medium to list of page kinds
Diffstat (limited to 'include/mimalloc-types.h')
-rw-r--r-- | include/mimalloc-types.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/mimalloc-types.h b/include/mimalloc-types.h index c9f399d..d898538 100644 --- a/include/mimalloc-types.h +++ b/include/mimalloc-types.h @@ -313,7 +313,7 @@ typedef struct mi_segment_s { // layout like this to optimize access in `mi_free` size_t page_shift; // `1 << page_shift` == the page sizes == `page->block_size * page->reserved` (unless the first page, then `-segment_info_size`). _Atomic(mi_threadid_t) thread_id; // unique id of the thread owning this segment - mi_page_kind_t page_kind; // kind of pages: small, large, or huge + mi_page_kind_t page_kind; // kind of pages: small, medium, large, or huge mi_page_t pages[1]; // up to `MI_SMALL_PAGES_PER_SEGMENT` pages } mi_segment_t; |