mirror of
https://github.com/microsoft/mimalloc.git
synced 2025-08-25 08:44:47 +03:00
rename must_free_whole -> has_partial_free
This commit is contained in:
parent
81a771161e
commit
a38c8dd0f9
6 changed files with 10 additions and 12 deletions
|
@ -144,7 +144,7 @@ void _mi_prim_mem_init( mi_os_mem_config_t* config )
|
|||
}
|
||||
config->large_page_size = 2*MI_MiB; // TODO: can we query the OS for this?
|
||||
config->has_overcommit = unix_detect_overcommit();
|
||||
config->must_free_whole = false; // mmap can free in parts
|
||||
config->has_partial_free = true; // mmap can free in parts
|
||||
config->has_virtual_reserve = true; // todo: check if this true for NetBSD? (for anonymous mmap with PROT_NONE)
|
||||
|
||||
// disable transparent huge pages for this process?
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue