NVIDIA and TLS

Alexander Kabaev kabaev at mail.ru
Mon Jun 16 18:35:59 PDT 2003


On Mon, 16 Jun 2003 16:10:10 -0700
Gareth Hughes <gareth at nvidia.com> wrote:

> On Mon, 16 Jun 2003, Julian Elischer wrote:
> > 
> > Both :-)
> > ELF TLS is a proposal and not yet (that I know of) part of 
> > the standard.
> 
> The latest copy of the System V generic ABI, found here:
> 
> http://www.caldera.com/developers/gabi/
> 
> shows that the TLS stuff is indeed part of the specification
> now.  Drepper states:
> 
> 	One of the last additions of the generic ELF ABI was
> 	support for thread-local storage.
> 
> on his homepage, just under the link to the processor-specific
> ELF TLS document:
> 
> http://people.redhat.com/drepper/
> 

That was very nice of them to develop a "standard" which penalises each
and every threads implementation except pure kernel-based threads Linux
happens to implement now.

Said that, I think FreeBSD will have to follow the suit sooner or later.
When the mass of Linux software using TLS reaches certain level, we'll
be unable to ignore its requirements. It is sad though that we'll have
to give up a some of our performance optimizations.  


More information about the freebsd-threads mailing list