[PATCH] Reserve static TLS for dynamically loaded initial-exec TLS only [BZ #25051]

Florian Weimer fweimer@redhat.com
Fri Feb 21 12:58:00 GMT 2020


* Carlos O'Donell:

> On 2/17/20 11:01 AM, Florian Weimer wrote:
>> * Carlos O'Donell:
>> 
>>> Let me take a stab at this:
>>>
>>> (1) File a bug to indicate all libraries must stop using
>>>     TLS IE to fix dlmopen issues with TLS IE.
>> 
>> Do you mean glibc components, or do you view this as a distribution-wide
>> change?
>
> All glibc libraries should stop using TLS IE and we should file bugs for
> fixing these instances where TLS IE was used to work around startup ordering
> problems.

This has performance implications, in particular for malloc.
I'll try to get some numbers.

Thanks,
Florian



More information about the Libc-alpha mailing list