RFC: TLS improvements for IA32 and AMD64/EM64T

John Reiser jreiser@BitWagon.com
Fri Sep 16 18:34:00 GMT 2005


Alexandre Oliva <aoliva@redhat.com>, 16 Sep 2005 02:08:22 -0300:
> ...  glibc and nptl,
> aware that the dynamic access models used to be so inefficient, take
> advantage of the fact that libc is always loaded initially and
> reference almost all thread-local variables using the more efficient
> access models.  ...

(g)libc is not always loaded initially, neither is ld-linux.  Other
PT_INTERP, or a main program with no PT_INTERP at all, can load glibc
and perhaps nptl later, perhaps in combination with ld-linux.
How will the proposed TLS improvements work in such cases?

-- 
John Reiser, jreiser@BitWagon.com



More information about the Libc-alpha mailing list