mirror of
https://github.com/microsoft/mimalloc.git
synced 2025-05-05 23:19:31 +03:00
update comments
This commit is contained in:
parent
d976fbe08b
commit
c9dcca6a64
1 changed files with 1 additions and 1 deletions
2
src/os.c
2
src/os.c
|
@ -21,7 +21,7 @@ static mi_os_mem_config_t mi_os_mem_config = {
|
||||||
0, // large page size (usually 2MiB)
|
0, // large page size (usually 2MiB)
|
||||||
4096, // allocation granularity
|
4096, // allocation granularity
|
||||||
true, // has overcommit? (if true we use MAP_NORESERVE on mmap systems)
|
true, // has overcommit? (if true we use MAP_NORESERVE on mmap systems)
|
||||||
false // must free whole?
|
false // must free whole? (on mmap systems we can free anywhere in a mapped range, but on Windows we must free the entire span)
|
||||||
};
|
};
|
||||||
|
|
||||||
bool _mi_os_has_overcommit(void) {
|
bool _mi_os_has_overcommit(void) {
|
||||||
|
|
Loading…
Add table
Reference in a new issue