From owner-freebsd-current Thu May 30 23:40:27 2002 Delivered-To: freebsd-current@freebsd.org Received: from rwcrmhc52.attbi.com (rwcrmhc52.attbi.com [216.148.227.88]) by hub.freebsd.org (Postfix) with ESMTP id 8633D37B401 for ; Thu, 30 May 2002 23:40:15 -0700 (PDT) Received: from InterJet.elischer.org ([12.232.206.8]) by rwcrmhc52.attbi.com (InterMail vM.4.01.03.27 201-229-121-127-20010626) with ESMTP id <20020531064012.FHNX2751.rwcrmhc52.attbi.com@InterJet.elischer.org>; Fri, 31 May 2002 06:40:12 +0000 Received: from localhost (localhost.elischer.org [127.0.0.1]) by InterJet.elischer.org (8.9.1a/8.9.1) with ESMTP id XAA26462; Thu, 30 May 2002 23:31:47 -0700 (PDT) Date: Thu, 30 May 2002 23:31:46 -0700 (PDT) From: Julian Elischer To: Peter Wemm Cc: Jake Burkholder , FreeBSD current users Subject: Re: Seeking OK to commit KSE MIII-again In-Reply-To: <20020531061417.7326C380A@overcee.wemm.org> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Thu, 30 May 2002, Peter Wemm wrote: > Julian Elischer wrote: > > On Thu, 30 May 2002, Jake Burkholder wrote: > [..] > > > It is much more difficult to ensure that all the register values > > > end up the same on each return from the system call on sparc64, due > > > to the way that register stack works. The current test program > > > will not work at all, because setjmp, longjmp cannot be used to > > > switch the stack in the same way. > > > > The library will not be using setjmp and longjmp in this way but > > instead the setcontext() call that dan wrote for the current thread > > library. If that works it should be enough. > > (I'd like to investigate your comments though... can you explain > > more about why it's a problem? It sure simplifies things on most > > architectures I've done this on.. > > setjmp/longjmp cannot be used to switch stacks on ia64 either, for what > it's worth. This is why libc_r is disabled for ia64 (and I presume > sparc64). I don't really care if setjmp doesn't work, as long as there is some assembler that can be put in the library that can switch a stack/thread. > > Cheers, > -Peter > -- > Peter Wemm - peter@wemm.org; peter@FreeBSD.org; peter@yahoo-inc.com > "All of this is for nothing if we don't go to the stars" - JMS/B5 > > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message