diff options
author | Siddhesh Poyarekar <siddhesh@sourceware.org> | 2016-10-27 08:34:55 +0530 |
---|---|---|
committer | Siddhesh Poyarekar <siddhesh@sourceware.org> | 2016-10-27 08:34:55 +0530 |
commit | be7991c0705e35b4d70a419d117addcd6c627319 (patch) | |
tree | 4ac31c3893e8bc10f40630cb457f6830d49e3067 /ChangeLog | |
parent | eaf5ad0bc4a67bf40999e22db6f583ebc3a806ba (diff) | |
download | glibc-be7991c0705e35b4d70a419d117addcd6c627319.zip glibc-be7991c0705e35b4d70a419d117addcd6c627319.tar.gz glibc-be7991c0705e35b4d70a419d117addcd6c627319.tar.bz2 |
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 'ChangeLog')
-rw-r--r-- | ChangeLog | 12 |
1 files changed, 12 insertions, 0 deletions
@@ -1,3 +1,15 @@ +2016-10-27 Siddhesh Poyarekar <siddhesh@sourceware.org> + + * 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. + 2016-10-26 Joseph Myers <joseph@codesourcery.com> * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)] |