NVIDIA and TLS

Julian Elischer julian at elischer.org
Mon Jun 16 20:40:08 PDT 2003



On Mon, 16 Jun 2003, Alexander Kabaev wrote:

> On Mon, 16 Jun 2003 18:11:30 -0700
> Gareth Hughes <gareth at nvidia.com> wrote:
> 
> > 
> > If FreeBSD support ELF TLS and __thread variables in ANY form, our
> > driver will use this support.  If the best you can do is a function
> > call per access, so be it.  It doesn't sound like there are any other
> > options, given the fact that you ship with three different thread
> > libraries.
> Three different libraries can attempt to coordinate and reserve exactly
> the same TLS segment size.

It's not that the segents need to be teh same it's that we are already
using %gs in 2 of them, and that they point to different things
in each library :-/

We'll see what we can do..




More information about the freebsd-threads mailing list