[PATCH] nptl: Add glibc.pthread.stack_cache_size

Andreas Schwab schwab@linux-m68k.org
Mon Jun 28 12:18:38 GMT 2021


On Jun 28 2021, Florian Weimer via Libc-alpha wrote:

> diff --git a/nptl/nptl-stack.h b/nptl/nptl-stack.h
> index a6bd8df77f..19d040431e 100644
> --- a/nptl/nptl-stack.h
> +++ b/nptl/nptl-stack.h
> @@ -25,6 +25,9 @@
>  #include <list.h>
>  #include <stdbool.h>
>  
> +/* Maximum size in kB of cache.  40MiBi by default.  */
> +extern size_t __nptl_stack_cache_maxsize attribute_hidden;

Kilobytes or bytes?

Andreas.

-- 
Andreas Schwab, schwab@linux-m68k.org
GPG Key fingerprint = 7578 EB47 D4E5 4D69 2510  2552 DF73 E780 A9DA AEC1
"And now for something completely different."


More information about the Libc-alpha mailing list