summaryrefslogtreecommitdiff
path: root/include/mimalloc-types.h
diff options
context:
space:
mode:
authorDaan <daanl@outlook.com>2022-02-02 20:12:34 -0800
committerDaan <daanl@outlook.com>2022-02-02 20:12:34 -0800
commit2e3e97819c3621f233c7f4f55a90acb7cbac774b (patch)
tree7f06ff2c6e9791380c103ef645138de3d856e00d /include/mimalloc-types.h
parent3e05c64d8b829106bfb81e08478d65c01d32b246 (diff)
parentc6f32c953392c1a2640812ec0aac17d42e31cd69 (diff)
Merge branch 'dev' of https://github.com/microsoft/mimalloc into dev
Diffstat (limited to 'include/mimalloc-types.h')
-rw-r--r--include/mimalloc-types.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/mimalloc-types.h b/include/mimalloc-types.h
index 6eeffeb..be3cf50 100644
--- a/include/mimalloc-types.h
+++ b/include/mimalloc-types.h
@@ -316,7 +316,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;