summaryrefslogtreecommitdiff
path: root/include/mimalloc-types.h
diff options
context:
space:
mode:
authorDaan <daan@microsoft.com>2021-06-07 16:55:03 -0700
committerGitHub <noreply@github.com>2021-06-07 16:55:03 -0700
commit8af2511e66134ffd9c3244c281c564db52cc9afb (patch)
tree25a2ff59f65c0742a348ac7fb28560468d6f6e62 /include/mimalloc-types.h
parent9974b0ee23e7dbfaebe2c55efa806e48ff21509c (diff)
parentf4e1563c4cc9e15fd9680b403489e5e50d342390 (diff)
Merge pull request #412 from diorszeng/dev-slice
fix typo
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 89eaf31..b3f247b 100644
--- a/include/mimalloc-types.h
+++ b/include/mimalloc-types.h
@@ -117,7 +117,7 @@ terms of the MIT license. A copy of the license can be found in the file
#define MI_SEGMENT_ALIGN MI_SEGMENT_SIZE
#define MI_SEGMENT_MASK (MI_SEGMENT_SIZE - 1)
#define MI_SEGMENT_SLICE_SIZE (1ULL<< MI_SEGMENT_SLICE_SHIFT)
-#define MI_SLICES_PER_SEGMENT (MI_SEGMENT_SIZE / MI_SEGMENT_SLICE_SIZE) // 1024
+#define MI_SLICES_PER_SEGMENT (MI_SEGMENT_SIZE / MI_SEGMENT_SLICE_SIZE) // 128
#define MI_SMALL_PAGE_SIZE (1ULL<<MI_SMALL_PAGE_SHIFT)
#define MI_MEDIUM_PAGE_SIZE (1ULL<<MI_MEDIUM_PAGE_SHIFT)