Skip to content

Commit 9da8788

Browse files
committed
mimalloc-types: amend comment adding medium to list of page kinds
1 parent 38a0322 commit 9da8788

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

include/mimalloc-types.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -313,7 +313,7 @@ typedef struct mi_segment_s {
313313
// layout like this to optimize access in `mi_free`
314314
size_t page_shift; // `1 << page_shift` == the page sizes == `page->block_size * page->reserved` (unless the first page, then `-segment_info_size`).
315315
_Atomic(mi_threadid_t) thread_id; // unique id of the thread owning this segment
316-
mi_page_kind_t page_kind; // kind of pages: small, large, or huge
316+
mi_page_kind_t page_kind; // kind of pages: small, medium, large, or huge
317317
mi_page_t pages[1]; // up to `MI_SMALL_PAGES_PER_SEGMENT` pages
318318
} mi_segment_t;
319319

0 commit comments

Comments
 (0)