Renaming limit_usize_gap to disable_large_size_classes

This commit is contained in:
guangli-dai 2025-04-16 11:57:55 -07:00 committed by Qi Wang
parent 01e9ecbeb2
commit 8347f1045a
18 changed files with 78 additions and 68 deletions

View file

@ -170,7 +170,7 @@ CTL_PROTO(opt_prof_sys_thread_name)
CTL_PROTO(opt_prof_time_res)
CTL_PROTO(opt_lg_san_uaf_align)
CTL_PROTO(opt_zero_realloc)
CTL_PROTO(opt_limit_usize_gap)
CTL_PROTO(opt_disable_large_size_classes)
CTL_PROTO(opt_process_madvise_max_batch)
CTL_PROTO(opt_malloc_conf_symlink)
CTL_PROTO(opt_malloc_conf_env_var)
@ -564,7 +564,7 @@ static const ctl_named_node_t opt_node[] = {
{NAME("zero_realloc"), CTL(opt_zero_realloc)},
{NAME("debug_double_free_max_scan"),
CTL(opt_debug_double_free_max_scan)},
{NAME("limit_usize_gap"), CTL(opt_limit_usize_gap)},
{NAME("disable_large_size_classes"), CTL(opt_disable_large_size_classes)},
{NAME("process_madvise_max_batch"), CTL(opt_process_madvise_max_batch)},
{NAME("malloc_conf"), CHILD(named, opt_malloc_conf)}
};
@ -2355,7 +2355,7 @@ CTL_RO_NL_CGEN(config_uaf_detection, opt_lg_san_uaf_align,
opt_lg_san_uaf_align, ssize_t)
CTL_RO_NL_GEN(opt_zero_realloc,
zero_realloc_mode_names[opt_zero_realloc_action], const char *)
CTL_RO_NL_GEN(opt_limit_usize_gap, opt_limit_usize_gap, bool)
CTL_RO_NL_GEN(opt_disable_large_size_classes, opt_disable_large_size_classes, bool)
/* malloc_conf options */
CTL_RO_NL_CGEN(opt_malloc_conf_symlink, opt_malloc_conf_symlink,