mirror of
https://github.com/microsoft/mimalloc.git
synced 2025-07-06 19:38:41 +03:00
more fine grained commit tracking per MiB
This commit is contained in:
parent
128cdd1dfb
commit
ec0005b919
4 changed files with 5 additions and 5 deletions
|
@ -227,7 +227,7 @@ typedef enum mi_segment_kind_e {
|
|||
MI_SEGMENT_HUGE, // > MI_LARGE_SIZE_MAX segment with just one huge page inside.
|
||||
} mi_segment_kind_t;
|
||||
|
||||
#define MI_COMMIT_SIZE (2UL<<20) // OS large page size
|
||||
#define MI_COMMIT_SIZE (1UL<<20) // OS large page size
|
||||
|
||||
#if ((1 << MI_SEGMENT_SHIFT)/MI_COMMIT_SIZE > 8*MI_INTPTR_SIZE)
|
||||
#error "not enough commit bits to cover the segment size"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue