diff options
author | daan <daanl@outlook.com> | 2021-11-14 12:09:20 -0800 |
---|---|---|
committer | daan <daanl@outlook.com> | 2021-11-14 12:09:20 -0800 |
commit | 70547b5f1698358d4232258d26190952c2d5dc27 (patch) | |
tree | ba198b906df251f60c4f5faf4717f14cef8cb7f8 /include/mimalloc-types.h | |
parent | 32170897ddd7daf8398322659e0c2f1b99fd1547 (diff) |
fix slice count
Diffstat (limited to 'include/mimalloc-types.h')
-rw-r--r-- | include/mimalloc-types.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/mimalloc-types.h b/include/mimalloc-types.h index 772e883..068513b 100644 --- a/include/mimalloc-types.h +++ b/include/mimalloc-types.h @@ -141,7 +141,7 @@ typedef int32_t mi_ssize_t; #define MI_SEGMENT_ALIGN MI_SEGMENT_SIZE #define MI_SEGMENT_MASK (MI_SEGMENT_SIZE - 1) #define MI_SEGMENT_SLICE_SIZE (MI_ZU(1)<< MI_SEGMENT_SLICE_SHIFT) -#define MI_SLICES_PER_SEGMENT (MI_SEGMENT_SIZE / MI_SEGMENT_SLICE_SIZE) // 128 +#define MI_SLICES_PER_SEGMENT (MI_SEGMENT_SIZE / MI_SEGMENT_SLICE_SIZE) // 1024 #define MI_SMALL_PAGE_SIZE (MI_ZU(1)<<MI_SMALL_PAGE_SHIFT) #define MI_MEDIUM_PAGE_SIZE (MI_ZU(1)<<MI_MEDIUM_PAGE_SHIFT) |