From owner-freebsd-threads@FreeBSD.ORG Mon Jun 16 16:06:57 2003 Return-Path: Delivered-To: freebsd-threads@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id C51BB37B401 for ; Mon, 16 Jun 2003 16:06:57 -0700 (PDT) Received: from rwcrmhc11.attbi.com (rwcrmhc11.comcast.net [204.127.198.35]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5060243FCB for ; Mon, 16 Jun 2003 16:06:57 -0700 (PDT) (envelope-from julian@elischer.org) Received: from interjet.elischer.org ([12.233.125.100]) by attbi.com (rwcrmhc11) with ESMTP id <2003061618031001300am14te>; Mon, 16 Jun 2003 18:03:11 +0000 Received: from localhost (localhost.elischer.org [127.0.0.1]) by InterJet.elischer.org (8.9.1a/8.9.1) with ESMTP id LAA20228; Mon, 16 Jun 2003 11:03:10 -0700 (PDT) Date: Mon, 16 Jun 2003 11:03:09 -0700 (PDT) From: Julian Elischer To: Daniel Eischen In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII cc: "Matthew N. Dodd" cc: Alexander Nedotsukov cc: threads@freebsd.org Subject: Re: nvidia OpenGL and lib{thr,kse} related crash X-BeenThere: freebsd-threads@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Threading on FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 16 Jun 2003 23:06:58 -0000 On Wed, 11 Jun 2003, Daniel Eischen wrote: > On Wed, 11 Jun 2003, Matthew N. Dodd wrote: > > > On Thu, 12 Jun 2003, Alexander Nedotsukov wrote: > > > Does some one know any nvidia developer to point them out on this fact? > > > > The NVIDIA drivers uses %gs for TLS. Ugghh! Can you be more specific about this? when you say "driver", do you mean a kernel driver or a userland program. I assume it's a userland pseudo-driver that links with pthreads to achieve its threads? Geez. why don't they use the per-thread-storage that the library provides? What makes them think that %gs is free? I think that linux will start using %gs for the TLS too as well soon. It's used for Thread-local-storage in the pthreads library too, so they trash each other's TLS. do they allocate LDT entries to back their own storage? > > That makes them pretty much useless in -current, especially since > libc_r is on the way out. > > One wonders why they use pthread_key_create() et al, and still > need TLS. > > > I suppose I should have mentioned this. > > Probably :-) > > -- > Dan Eischen > > _______________________________________________ > freebsd-threads@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-threads > To unsubscribe, send any mail to "freebsd-threads-unsubscribe@freebsd.org" >