From owner-freebsd-threads@FreeBSD.ORG Mon Jun 16 18:35:59 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 0DFB537B401 for ; Mon, 16 Jun 2003 18:35:59 -0700 (PDT) Received: from mx5.mail.ru (mx5.mail.ru [194.67.23.25]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4AFB043FD7 for ; Mon, 16 Jun 2003 18:35:58 -0700 (PDT) (envelope-from kabaev@mail.ru) Received: from [151.203.235.42] (port=55800 helo=kan.dnsalias.net) by mx5.mail.ru with esmtp id 19S5O8-0007zj-00; Tue, 17 Jun 2003 05:35:56 +0400 Received: from kan.dnsalias.net (ak03@localhost [127.0.0.1]) by kan.dnsalias.net (8.12.9/8.12.9) with ESMTP id h5H1ZtTI090395; Mon, 16 Jun 2003 21:35:55 -0400 (EDT) (envelope-from kan@kan.dnsalias.net) Received: (from kan@localhost) by kan.dnsalias.net (8.12.9/8.12.9/Submit) id h5H1ZsKl090394; Mon, 16 Jun 2003 21:35:54 -0400 (EDT) Date: Mon, 16 Jun 2003 21:35:54 -0400 From: Alexander Kabaev To: Gareth Hughes Message-Id: <20030616213554.14f45120.kabaev@mail.ru> In-Reply-To: <2D32959E172B8F4D9B02F68266BE421401A6D7DE@mail-sc-3.nvidia.com> References: <2D32959E172B8F4D9B02F68266BE421401A6D7DE@mail-sc-3.nvidia.com> X-Mailer: Sylpheed version 0.9.0claws2 (GTK+ 1.2.10; i386-portbld-freebsd5.0) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Spam: Not detected cc: threads@freebsd.org cc: zander@mail.minion.de cc: 'Julian Elischer' cc: Andy Ritger cc: Daniel Eischen Subject: Re: NVIDIA and TLS 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: Tue, 17 Jun 2003 01:35:59 -0000 On Mon, 16 Jun 2003 16:10:10 -0700 Gareth Hughes 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.