Date: Tue, 5 Aug 2003 10:50:30 -0700 From: Marcel Moolenaar <marcel@xcllnt.net> To: deischen@freebsd.org Cc: threads@freebsd.org Subject: Re: Good news: KSE on ia64 is starting to work Message-ID: <20030805175030.GA901@dhcp01.pn.xcllnt.net> In-Reply-To: <Pine.GSO.4.10.10308051324440.2792-100000@pcnet5.pcnet.com> References: <20030805165817.GA796@dhcp01.pn.xcllnt.net> <Pine.GSO.4.10.10308051324440.2792-100000@pcnet5.pcnet.com>
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030805175030.GA901>