Skip to content

Commit 125099f

Browse files
committed
update comment
1 parent 0c3fea0 commit 125099f

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/options.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -175,7 +175,7 @@ static mi_option_desc_t mi_options[_mi_option_last] =
175175
MI_OPTION_UNINIT, MI_OPTION(page_cross_thread_max_reclaim) }, // don't reclaim (small) pages across threads if we already own N pages in that size class
176176
{ MI_DEFAULT_ALLOW_THP,
177177
MI_OPTION_UNINIT, MI_OPTION(allow_thp) }, // allow transparent huge pages? (=1) (on Android =0 by default). Set to 0 to disable THP for the process.
178-
{ 0, MI_OPTION_UNINIT, MI_OPTION(minimal_purge_size) }, // set minimal purge size (in KiB) (=0). By default set to either 64 or 2048 if THP is enabled.
178+
{ 0, MI_OPTION_UNINIT, MI_OPTION(minimal_purge_size) }, // set minimal purge size (in KiB) (=0). Using 0 resolves to either 64 (or 2048 if `mi_option_allow_thp==2`).
179179
{ MI_DEFAULT_ARENA_MAX_OBJECT_SIZE,
180180
MI_OPTION_UNINIT, MI_OPTION(arena_max_object_size) }, // set maximal object size that can be allocated in an arena (in KiB) (=2GiB on 64-bit).
181181
};

0 commit comments

Comments
 (0)