diff options
author | 2016-10-27 08:34:55 +0530 | |
---|---|---|
committer | 2016-10-27 08:34:55 +0530 | |
commit | be7991c0705e35b4d70a419d117addcd6c627319 (patch) | |
tree | 4ac31c3893e8bc10f40630cb457f6830d49e3067 /malloc/hooks.c | |
parent | Add canonicalize, canonicalizef, canonicalizel. (diff) | |
download | glibc-be7991c0705e35b4d70a419d117addcd6c627319.tar.xz glibc-be7991c0705e35b4d70a419d117addcd6c627319.zip |
Static inline functions for mallopt helpers
Make mallopt helper functions for each mallopt parameter so that it
can be called consistently in other areas, like setting tunables.
* malloc/malloc.c (do_set_mallopt_check): New function.
(do_set_mmap_threshold): Likewise.
(do_set_mmaps_max): Likewise.
(do_set_top_pad): Likewise.
(do_set_perturb_byte): Likewise.
(do_set_trim_threshold): Likewise.
(do_set_arena_max): Likewise.
(do_set_arena_test): Likewise.
(__libc_mallopt): Use them.
Diffstat (limited to 'malloc/hooks.c')
0 files changed, 0 insertions, 0 deletions