This is the mail archive of the libc-alpha@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Proposal: Slow dynamic TLS for internal glibc use



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?


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]