Skip to content

Commit c6f32c9

Browse files
authored
Merge pull request #528 from michaeljclark/mimalloc-fixes
mimalloc-types: amend comment adding medium to list of page kinds
2 parents 32da74e + 9da8788 commit c6f32c9

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
@@ -316,7 +316,7 @@ typedef struct mi_segment_s {
316316
// layout like this to optimize access in `mi_free`
317317
size_t page_shift; // `1 << page_shift` == the page sizes == `page->block_size * page->reserved` (unless the first page, then `-segment_info_size`).
318318
_Atomic(mi_threadid_t) thread_id; // unique id of the thread owning this segment
319-
mi_page_kind_t page_kind; // kind of pages: small, large, or huge
319+
mi_page_kind_t page_kind; // kind of pages: small, medium, large, or huge
320320
mi_page_t pages[1]; // up to `MI_SMALL_PAGES_PER_SEGMENT` pages
321321
} mi_segment_t;
322322

0 commit comments

Comments
 (0)