From owner-freebsd-hackers@FreeBSD.ORG Mon Aug 29 18:44:18 2005 Return-Path: X-Original-To: freebsd-hackers@freebsd.org Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id B9DC416A420 for ; Mon, 29 Aug 2005 18:44:18 +0000 (GMT) (envelope-from arundel@h3c.de) Received: from enterprise4.noxa.de (enterprise.noxa.de [212.60.197.71]) by mx1.FreeBSD.org (Postfix) with ESMTP id B949743D45 for ; Mon, 29 Aug 2005 18:44:17 +0000 (GMT) (envelope-from arundel@h3c.de) Received: (qmail 30113 invoked from network); 29 Aug 2005 20:44:15 +0200 Received: from p508fd82e.dip.t-dialin.net (HELO localhost.skatecity) (80.143.216.46) by enterprise.noxa.de with AES256-SHA encrypted SMTP; 29 Aug 2005 20:44:15 +0200 Received: from localhost.skatecity (nobody@localhost.skatecity [127.0.0.1]) by localhost.skatecity (8.13.4/8.13.4) with ESMTP id j7TIi8jH096192 for ; Mon, 29 Aug 2005 20:44:09 +0200 (CEST) (envelope-from arundel@localhost.skatecity) Received: (from arundel@localhost) by localhost.skatecity (8.13.4/8.13.4/Submit) id j7TIi8md096191 for freebsd-hackers@freebsd.org; Mon, 29 Aug 2005 20:44:08 +0200 (CEST) (envelope-from arundel) From: Alexander Best Date: Mon, 29 Aug 2005 20:44:08 +0200 To: freebsd-hackers@freebsd.org Message-ID: <20050829184408.GA95840@skatecity> Mail-Followup-To: freebsd-hackers@freebsd.org References: <20050828143239.GA64597@skatecity> <200508291136.15662.jhb@FreeBSD.org> <431334E0.20702@samsco.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <431334E0.20702@samsco.org> User-Agent: Mutt/1.4.2.1i Organisation: =?iso-8859-15?Q?Westfl=E4lische_Wilhelms-U?= =?iso-8859-15?Q?niversit=E4t_M=FCnster?= Subject: Re: Syscall/Sysret state on i386 arch X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 29 Aug 2005 18:44:19 -0000 On Mon Aug 29 05, Scott Long wrote: > > Actually, the results were fairly inconclusive because it was also > somewhat unstable under real loads. > > The work is in Perforce under > > //depot/user/jeff/sysenter/... > > I've worked on this branch also, but not in a few months. I can > make patches if anyone is interested. > > Scott That would be awsome. I'd defenately check it out, because I'm really interested to see how syscall/sysret compares to the current way of doing syscalls. Maybe somebody can comment on the speed increase that was gained by replacing int80h in the AMD64 branch. I just had a look at lib/libc/amd64/SYS.h and it seems they decided to use syscall/sysret instead of int80h about 2 years ago: > Revision 1.25 (Wed Apr 30 18:06:14 2003 UTC (2 years, 4 months ago) by peter) Cheers