summaryrefslogtreecommitdiff
path: root/include/mimalloc-types.h
diff options
context:
space:
mode:
authordaan <daanl@outlook.com>2019-08-15 11:49:56 -0700
committerdaan <daanl@outlook.com>2019-08-15 11:49:56 -0700
commitf2bafbc57f0604c74bf47fbd105d16a7bb951bcc (patch)
treedf468ad02cde2933343defcea99d9729a7c16b0d /include/mimalloc-types.h
parentbbd81bbbd1bbe1de30b09dcfc6da22f31c4f5768 (diff)
wip: new segment allocation
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 7e14dac..f4042e6 100644
--- a/include/mimalloc-types.h
+++ b/include/mimalloc-types.h
@@ -375,7 +375,7 @@ typedef struct mi_segment_queue_s {
mi_segment_t* last;
} mi_segment_queue_t;
-#define MI_SEGMENT_BIN_MAX (35) // 35 == mi_segment_bin(MI_SEGMENT_SIZE)
+#define MI_SEGMENT_BIN_MAX (35) // 35 == mi_segment_bin(MI_SLICES_PER_SEGMENT)
// Segments thread local data
typedef struct mi_segments_tld_s {