From owner-freebsd-current@FreeBSD.ORG Mon Dec 22 12:26:06 2003 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 82BCC16A4CE for ; Mon, 22 Dec 2003 12:26:06 -0800 (PST) Received: from mail.pcnet.com (mail.pcnet.com [204.213.232.4]) by mx1.FreeBSD.org (Postfix) with ESMTP id 68F5B43D2D for ; Mon, 22 Dec 2003 12:26:05 -0800 (PST) (envelope-from eischen@vigrid.com) Received: from mail.pcnet.com (mail.pcnet.com [204.213.232.4]) by mail.pcnet.com (8.12.10/8.12.1) with ESMTP id hBMKPuiw013264; Mon, 22 Dec 2003 15:25:56 -0500 (EST) Date: Mon, 22 Dec 2003 15:25:56 -0500 (EST) From: Daniel Eischen X-Sender: eischen@pcnet5.pcnet.com To: Julian Elischer In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII cc: "Vladimir B. Grebenschikov" cc: "current@freebsd.org" Subject: Re: KSE and qt-mt X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 22 Dec 2003 20:26:06 -0000 On Mon, 22 Dec 2003, Julian Elischer wrote: > > On Mon, 22 Dec 2003, Daniel Eischen wrote: > > > > I also asked them to use %fs; I'm not sure if they will... > > > > They are worried about WINE as they are sometimes run together. Yes, probably, but you have to weight that against not being able to use libkse or libthr. > It is more likely that we could ask them to use a single indirection > and follow the KSE pointer to the Thread block. > > Interestigly teh TLS definition for x86 doesn;t sapecify that the > tdv be at offset 0 in the tcb. > There is special mention of having it at another offset, as long as that > offset is known in advance. > > We could of course also ask them to use offset 1 (longs) > and leave it free for them they could use that to point to whatever they > want and it would still allow us to experiment with implementing TLS. > > I need to look up their address again. it's time we started this > discussion again, now that we are closer to implementing TLS. Our goal is to have TLS for 5.3, so after that point they can just use __thread. We're (libkse) ready for it now; we just need a linker-guy with whom to coordinate. -- Dan Eischen