From 46b11fa0a48ed34bb753470668bff5c6551dfab9 Mon Sep 17 00:00:00 2001 From: daan Date: Mon, 15 Jul 2019 10:07:23 -0700 Subject: [PATCH] add comment about large pages --- src/options.c | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/src/options.c b/src/options.c index 46f0a36e..5c4548c2 100644 --- a/src/options.c +++ b/src/options.c @@ -36,6 +36,7 @@ typedef struct mi_option_desc_s { const char* name; // option name without `mimalloc_` prefix } mi_option_desc_t; +<<<<<<< HEAD static mi_option_desc_t options[_mi_option_last] = { // stable options @@ -43,6 +44,16 @@ static mi_option_desc_t options[_mi_option_last] = { MI_DEBUG, UNINIT, "show_errors" }, { 0, UNINIT, "verbose" }, +======= +static mi_option_desc_t options[_mi_option_last] = { + { 0, UNINIT, "page_reset" }, + { 0, UNINIT, "cache_reset" }, + { 0, UNINIT, "pool_commit" }, + { 0, UNINIT, "eager_commit" }, // secure and large pages must have eager commit + { 0, UNINIT, "large_os_pages" }, // use large OS pages + { 0, UNINIT, "reset_decommits" }, + { 0, UNINIT, "reset_discards" }, +>>>>>>> add comment about large pages #if MI_SECURE { MI_SECURE, INITIALIZED, "secure" }, // in a secure build the environment setting is ignored #else