From owner-freebsd-arch Thu May 18 13:46:27 2000 Delivered-To: freebsd-arch@freebsd.org Received: from smtp02.primenet.com (smtp02.primenet.com [206.165.6.132]) by hub.freebsd.org (Postfix) with ESMTP id 92F7237B84C for ; Thu, 18 May 2000 13:46:19 -0700 (PDT) (envelope-from tlambert@usr08.primenet.com) Received: (from daemon@localhost) by smtp02.primenet.com (8.9.3/8.9.3) id NAA18087; Thu, 18 May 2000 13:45:40 -0700 (MST) Received: from usr08.primenet.com(206.165.6.208) via SMTP by smtp02.primenet.com, id smtpdAAAMUaimJ; Thu May 18 13:45:29 2000 Received: (from tlambert@localhost) by usr08.primenet.com (8.8.5/8.8.5) id NAA21595; Thu, 18 May 2000 13:45:54 -0700 (MST) From: Terry Lambert Message-Id: <200005182045.NAA21595@usr08.primenet.com> Subject: Re: Sparc & api for asynchronous task execution (2) To: cp@bsdi.com (Chuck Paterson) Date: Thu, 18 May 2000 20:45:54 +0000 (GMT) Cc: dfr@nlsystems.com (Doug Rabson), arch@FreeBSD.ORG In-Reply-To: <200005172056.OAA25889@berserker.bsdi.com> from "Chuck Paterson" at May 17, 2000 02:56:16 PM X-Mailer: ELM [version 2.5 PL2] MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-arch@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG > }I didn't realize that every function call involved a fault on the sparc > }architecture - that sounds pretty nasty. > > Actually every function call doesn't cause a fault, every > time you overflow/underflow the current set of register windows causes a > fault. (Perhaps what you meant). This means that calling a function > from the bottom most function will cause two faults, one for going down > and one eventually as you go up. > > This makes going up and down when you don't overflow > very fast at the expense of when you add to the total depth. See also: TR-91-08-01 Register Windows and User-Space Threads on the SPARC D. Keppel August 1991 University of Washington ftp://ftp.cs.washington.edu/tr/1991/08/UW-CSE-91-08-01.PS.Z for a good discussion of SPARC register windows. Terry Lambert terry@lambert.org --- Any opinions in this posting are my own and not those of my present or previous employers. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-arch" in the body of the message