mirror of
https://github.com/microsoft/mimalloc.git
synced 2025-05-06 15:29:31 +03:00
fix medium page size to 512k
This commit is contained in:
parent
c007747169
commit
83c027c4bf
1 changed files with 1 additions and 1 deletions
|
@ -141,7 +141,7 @@ typedef int32_t mi_ssize_t;
|
|||
#endif
|
||||
|
||||
#define MI_SMALL_PAGE_SHIFT (MI_SEGMENT_SLICE_SHIFT) // 64KiB
|
||||
#define MI_MEDIUM_PAGE_SHIFT ( 4 + MI_SMALL_PAGE_SHIFT) // 512KiB
|
||||
#define MI_MEDIUM_PAGE_SHIFT ( 3 + MI_SMALL_PAGE_SHIFT) // 512KiB
|
||||
|
||||
|
||||
// Derived constants
|
||||
|
|
Loading…
Add table
Reference in a new issue