]> git.ipfire.org Git - thirdparty/glibc.git/blame - elf/dl-tunables.list
Add glibc.malloc.mxfast tunable
[thirdparty/glibc.git] / elf / dl-tunables.list
CommitLineData
04277e02 1# Copyright (C) 2016-2019 Free Software Foundation, Inc.
67e58f39
SP
2# This file is part of the GNU C Library.
3
4# The GNU C Library is free software; you can redistribute it and/or
5# modify it under the terms of the GNU Lesser General Public
6# License as published by the Free Software Foundation; either
7# version 2.1 of the License, or (at your option) any later version.
8
9# The GNU C Library is distributed in the hope that it will be useful,
10# but WITHOUT ANY WARRANTY; without even the implied warranty of
11# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
12# Lesser General Public License for more details.
13
14# You should have received a copy of the GNU Lesser General Public
15# License along with the GNU C Library; if not, see
16# <http://www.gnu.org/licenses/>.
17
18# Allowed attributes for tunables:
19#
20# type: Defaults to STRING
21# minval: Optional minimum acceptable value
22# maxval: Optional maximum acceptable value
23# env_alias: An alias environment variable
8b9e9c3c
SP
24# security_level: Specify security level of the tunable. Valid values are:
25#
26# SXID_ERASE: (default) Don't read for AT_SECURE binaries and
27# removed so that child processes can't read it.
28# SXID_IGNORE: Don't read for AT_SECURE binaries, but retained for
29# non-AT_SECURE subprocesses.
65eff7fb 30# NONE: Read all the time.
67e58f39
SP
31
32glibc {
33 malloc {
34 check {
35 type: INT_32
36 minval: 0
37 maxval: 3
38 env_alias: MALLOC_CHECK_
67e58f39
SP
39 }
40 top_pad {
41 type: SIZE_T
42 env_alias: MALLOC_TOP_PAD_
8b9e9c3c 43 security_level: SXID_IGNORE
67e58f39
SP
44 }
45 perturb {
46 type: INT_32
47 minval: 0
48 maxval: 0xff
49 env_alias: MALLOC_PERTURB_
8b9e9c3c 50 security_level: SXID_IGNORE
67e58f39
SP
51 }
52 mmap_threshold {
53 type: SIZE_T
54 env_alias: MALLOC_MMAP_THRESHOLD_
8b9e9c3c 55 security_level: SXID_IGNORE
67e58f39
SP
56 }
57 trim_threshold {
58 type: SIZE_T
59 env_alias: MALLOC_TRIM_THRESHOLD_
8b9e9c3c 60 security_level: SXID_IGNORE
67e58f39
SP
61 }
62 mmap_max {
63 type: INT_32
64 env_alias: MALLOC_MMAP_MAX_
8b9e9c3c 65 security_level: SXID_IGNORE
67e58f39
SP
66 }
67 arena_max {
68 type: SIZE_T
69 env_alias: MALLOC_ARENA_MAX
70 minval: 1
8b9e9c3c 71 security_level: SXID_IGNORE
67e58f39
SP
72 }
73 arena_test {
74 type: SIZE_T
75 env_alias: MALLOC_ARENA_TEST
76 minval: 1
8b9e9c3c 77 security_level: SXID_IGNORE
67e58f39 78 }
d5c3fafc
DD
79 tcache_max {
80 type: SIZE_T
d5c3fafc
DD
81 }
82 tcache_count {
83 type: SIZE_T
d5c3fafc
DD
84 }
85 tcache_unsorted_limit {
86 type: SIZE_T
d5c3fafc 87 }
4618f1ff
DD
88 mxfast {
89 type: SIZE_T
90 minval: 0
91 security_level: SXID_IGNORE
92 }
67e58f39 93 }
dce452dc 94 cpu {
ea9b0ecb
SP
95 hwcap_mask {
96 type: UINT_64
97 env_alias: LD_HWCAP_MASK
98 default: HWCAP_IMPORTANT
aa6932aa 99 }
ea9b0ecb 100 }
07ed18d2
RA
101
102 elision {
103 enable {
104 type: INT_32
105 minval: 0
106 maxval: 1
07ed18d2
RA
107 }
108 skip_lock_busy {
109 type: INT_32
110 default: 3
07ed18d2
RA
111 }
112 skip_lock_internal_abort {
113 type: INT_32
114 default: 3
07ed18d2
RA
115 }
116 skip_lock_after_retries {
117 type: INT_32
118 default: 3
07ed18d2
RA
119 }
120 tries {
121 type: INT_32
122 default: 3
07ed18d2
RA
123 }
124 skip_trylock_internal_abort {
125 type: INT_32
126 default: 3
07ed18d2
RA
127 }
128 }
67e58f39 129}