Add glibc.malloc.mxfast tunable
commitc48d92b430c480de06762f80c104922239416826
authorDJ Delorie <dj@redhat.com>
Thu, 8 Aug 2019 23:09:43 +0000 (8 19:09 -0400)
committerDJ Delorie <dj@redhat.com>
Fri, 9 Aug 2019 18:04:03 +0000 (9 14:04 -0400)
treeefb687b05fe7b94025ad29c6fe35d1d60a336fb8
parentb6d2c4475d5abc05dd009575b90556bdd3c78ad0
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>
ChangeLog
elf/dl-tunables.list
malloc/Makefile
malloc/arena.c
malloc/malloc.c
malloc/tst-mxfast.c [new file with mode: 0644]
manual/tunables.texi