From c48d92b430c480de06762f80c104922239416826 Mon Sep 17 00:00:00 2001 From: DJ Delorie Date: Thu, 8 Aug 2019 19:09:43 -0400 Subject: 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 --- elf/dl-tunables.list | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'elf') diff --git a/elf/dl-tunables.list b/elf/dl-tunables.list index 1fc2d88..525c376 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 { -- cgit v1.1