diff options
author | Florian Weimer <fweimer@redhat.com> | 2021-06-28 15:48:58 +0200 |
---|---|---|
committer | Florian Weimer <fweimer@redhat.com> | 2021-06-28 16:41:58 +0200 |
commit | dd45734e322a03287d34d8af9b7da7b35cfddb8e (patch) | |
tree | 368647bd8c34ea5d1ea1f3cfa74ef52fb3271e67 /sysdeps/nptl | |
parent | fef400a2f976d1fd6a4639e6980f6c50ee13fbf5 (diff) | |
download | glibc-dd45734e322a03287d34d8af9b7da7b35cfddb8e.tar.gz glibc-dd45734e322a03287d34d8af9b7da7b35cfddb8e.tar.xz glibc-dd45734e322a03287d34d8af9b7da7b35cfddb8e.zip |
nptl: Add glibc.pthread.stack_cache_size tunable
The valgrind/helgrind test suite needs a way to make stack dealloction more prompt, and this feature seems to be generally useful. Reviewed-by: Siddhesh Poyarekar <siddhesh@sourceware.org>
Diffstat (limited to 'sysdeps/nptl')
-rw-r--r-- | sysdeps/nptl/dl-tunables.list | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/sysdeps/nptl/dl-tunables.list b/sysdeps/nptl/dl-tunables.list index e3f6432e60..ac5d053298 100644 --- a/sysdeps/nptl/dl-tunables.list +++ b/sysdeps/nptl/dl-tunables.list @@ -23,5 +23,9 @@ glibc { maxval: 32767 default: 100 } + stack_cache_size { + type: SIZE_T + default: 41943040 + } } } |