diff options
author | DJ Delorie <dj@redhat.com> | 2019-08-08 19:09:43 -0400 |
---|---|---|
committer | DJ Delorie <dj@redhat.com> | 2019-08-09 14:04:03 -0400 |
commit | c48d92b430c480de06762f80c104922239416826 (patch) | |
tree | efb687b05fe7b94025ad29c6fe35d1d60a336fb8 /elf | |
parent | b6d2c4475d5abc05dd009575b90556bdd3c78ad0 (diff) | |
download | glibc-c48d92b430c480de06762f80c104922239416826.tar.gz glibc-c48d92b430c480de06762f80c104922239416826.tar.xz glibc-c48d92b430c480de06762f80c104922239416826.zip |
Add glibc.malloc.mxfast tunable
* elf/dl-tunables.list: Add glibc.malloc.mxfast. * manual/tunables.texi: Document it. * malloc/malloc.c (do_set_mxfast): New. (__libc_mallopt): Call it. * malloc/arena.c: Add mxfast tunable. * malloc/tst-mxfast.c: New. * malloc/Makefile: Add it. Reviewed-by: Carlos O'Donell <carlos@redhat.com>
Diffstat (limited to 'elf')
-rw-r--r-- | elf/dl-tunables.list | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/elf/dl-tunables.list b/elf/dl-tunables.list index 1fc2d8886b..525c3767b5 100644 --- a/elf/dl-tunables.list +++ b/elf/dl-tunables.list @@ -85,6 +85,11 @@ glibc { tcache_unsorted_limit { type: SIZE_T } + mxfast { + type: SIZE_T + minval: 0 + security_level: SXID_IGNORE + } } cpu { hwcap_mask { |