From owner-freebsd-arch Sat Jan 12 16: 0:34 2002 Delivered-To: freebsd-arch@freebsd.org Received: from mail5.speakeasy.net (mail5.speakeasy.net [216.254.0.205]) by hub.freebsd.org (Postfix) with ESMTP id B6C0737B419 for ; Sat, 12 Jan 2002 16:00:30 -0800 (PST) Received: (qmail 14563 invoked from network); 13 Jan 2002 00:00:30 -0000 Received: from unknown (HELO laptop.baldwin.cx) ([64.81.54.73]) (envelope-sender ) by mail5.speakeasy.net (qmail-ldap-1.03) with SMTP for ; 13 Jan 2002 00:00:30 -0000 Message-ID: X-Mailer: XFMail 1.4.0 on FreeBSD X-Priority: 3 (Normal) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 8bit MIME-Version: 1.0 In-Reply-To: <20020112203429.EE98738CC@overcee.netplex.com.au> Date: Sat, 12 Jan 2002 15:59:50 -0800 (PST) From: John Baldwin To: Peter Wemm Subject: Re: Request for review: getcontext, setcontext, etc Cc: arch@FreeBSD.ORG, Archie Cobbs , Dan Eischen , Daniel Eischen , Nate Williams , Kelly Yancey , Alfred Perlstein , Terry Lambert , Bruce Evans Sender: owner-freebsd-arch@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On 12-Jan-02 Peter Wemm wrote: >> The Xdna trap to do load the state if we guessed wrong about the >> next timeslice not using the FPU takes about 200 instructions >> including several slow ones like iret, so we don't get near 38 >> instructions in all cases although we could (Xdna can be written >> in about 10 instructions if it doesn't go through trap() and >> other general routines). > > Hmm, that is good to know too. And worth implementing at some point. :) -- John Baldwin <>< http://www.FreeBSD.org/~jhb/ "Power Users Use the Power to Serve!" - http://www.FreeBSD.org/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-arch" in the body of the message