From owner-freebsd-threads@FreeBSD.ORG Tue Aug 5 10:50:32 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 F3B6E37B401; Tue, 5 Aug 2003 10:50:31 -0700 (PDT) Received: from ns1.xcllnt.net (209-128-86-226.bayarea.net [209.128.86.226]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0B50F43FB1; Tue, 5 Aug 2003 10:50:31 -0700 (PDT) (envelope-from marcel@xcllnt.net) Received: from dhcp01.pn.xcllnt.net (dhcp01.pn.xcllnt.net [192.168.4.201]) by ns1.xcllnt.net (8.12.9/8.12.9) with ESMTP id h75HoUwO032249; Tue, 5 Aug 2003 10:50:30 -0700 (PDT) (envelope-from marcel@piii.pn.xcllnt.net) Received: from dhcp01.pn.xcllnt.net (localhost [127.0.0.1]) by dhcp01.pn.xcllnt.net (8.12.9/8.12.9) with ESMTP id h75HoUCn000992; Tue, 5 Aug 2003 10:50:30 -0700 (PDT) (envelope-from marcel@dhcp01.pn.xcllnt.net) Received: (from marcel@localhost) by dhcp01.pn.xcllnt.net (8.12.9/8.12.9/Submit) id h75HoUdm000991; Tue, 5 Aug 2003 10:50:30 -0700 (PDT) (envelope-from marcel) Date: Tue, 5 Aug 2003 10:50:30 -0700 From: Marcel Moolenaar To: deischen@freebsd.org Message-ID: <20030805175030.GA901@dhcp01.pn.xcllnt.net> References: <20030805165817.GA796@dhcp01.pn.xcllnt.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.4i cc: threads@freebsd.org Subject: Re: Good news: KSE on ia64 is starting to work 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, 05 Aug 2003 17:50:32 -0000 On Tue, Aug 05, 2003 at 01:33:14PM -0400, Daniel Eischen wrote: > > > Am I right that this is currently the only way libkse can work and > > that I have to wait until the patches that are floating around get > > committed? > > I'm almost ready to commit them. Trying to figure out why > sysarch(AMD64_SET_FSBASE, foo) doesn't work on sledge (amd64). Ok. I wont commit the per-KSE hacks then. > See the ia64 part of the above patch. Since getcontext() > and setcontext() are not meant to be used by applications > to switch between contexts in different threads, they > shouldn't need to save and restore TP. But, the MD parts > of libpthread, _thread_enter_uts() and _thread_switch(), > do need to handle this. I _think_ I took care of this > for ia64, but you might want to take a close look at the > patch to make sure. The patch does not contain ia64 (yet), but libpthread.ia64.diffs does indeed have the code that deals with TP. Thanks, I now know what to commit and what not. I'll be testing the patch after committing... -- Marcel Moolenaar USPA: A-39004 marcel@xcllnt.net