summaryrefslogtreecommitdiff
path: root/include/mimalloc-types.h
diff options
context:
space:
mode:
authordiorszeng <54629524+diorszeng@users.noreply.github.com>2021-05-31 15:02:17 +0800
committerGitHub <noreply@github.com>2021-05-31 15:02:17 +0800
commit06110589740eb58532d387501e9fdfda146e92e3 (patch)
tree0feeb03e8735d109850f2c7f7250e8e052cbc4a3 /include/mimalloc-types.h
parent54b2c3525c662f86821dc000788d0521f02931bc (diff)
Update mimalloc-types.h
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 750a2b2..325f487 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)