mirror of
https://github.com/microsoft/mimalloc.git
synced 2025-07-09 12:58:41 +03:00
add environment option to reserve huge pages upfront
This commit is contained in:
parent
741f37e1f0
commit
0e639addb0
4 changed files with 10 additions and 1 deletions
|
@ -58,6 +58,7 @@ static mi_option_desc_t options[_mi_option_last] =
|
|||
{ 1, UNINIT, "eager_region_commit" },
|
||||
#endif
|
||||
{ 0, UNINIT, "large_os_pages" }, // use large OS pages, use only with eager commit to prevent fragmentation of VMA's
|
||||
{ 0, UNINIT, "reserve_huge_os_pages" },
|
||||
{ 0, UNINIT, "page_reset" },
|
||||
{ 0, UNINIT, "cache_reset" },
|
||||
{ 0, UNINIT, "reset_decommits" }, // note: cannot enable this if secure is on
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue