From dd45734e322a03287d34d8af9b7da7b35cfddb8e Mon Sep 17 00:00:00 2001 From: Florian Weimer Date: Mon, 28 Jun 2021 15:48:58 +0200 Subject: 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 --- sysdeps/nptl/dl-tunables.list | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'sysdeps/nptl') 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 + } } } -- cgit 1.4.1