Proposal: Slow dynamic TLS for internal glibc use
Adhemerval Zanella
adhemerval.zanella@linaro.org
Tue Oct 23 16:57:00 GMT 2018
On 23/10/2018 09:18, Florian Weimer wrote:
> We have a lot of legacy interfaces which are not thread-safe: strtok,
> many, many NSS functions such as gethostbyname, wide character functions
> when invoked with a NULL state parameter, strerror, getpass, rpmatch,
> localtime and so on.
>
> Currently, most of these functions use global variables which take up
> space in .bss. This introduces overhead even if they are never used,
> and these functions are of course not thread-safe.
Do we have any numbers of the overhead we are taking in consideration
here?
More information about the Libc-alpha
mailing list