From owner-freebsd-ia64@FreeBSD.ORG Fri Sep 1 08:25:24 2006 Return-Path: X-Original-To: ia64@FreeBSD.org Delivered-To: freebsd-ia64@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 5632D16A4DE; Fri, 1 Sep 2006 08:25:24 +0000 (UTC) (envelope-from peterc@chubb.wattle.id.au) Received: from mx.chubb.wattle.id.au (mx.chubb.wattle.id.au [66.29.2.6]) by mx1.FreeBSD.org (Postfix) with ESMTP id D616143D45; Fri, 1 Sep 2006 08:25:23 +0000 (GMT) (envelope-from peterc@chubb.wattle.id.au) Received: from c220-237-8-57.randw1.nsw.optusnet.com.au ([220.237.8.57] helo=quokka.chubb.wattle.id.au) by mx.chubb.wattle.id.au with esmtpsa (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.63) (envelope-from ) id 1GJ4L9-0006KV-Np; Fri, 01 Sep 2006 18:25:29 +1000 Received: from localhost ([127.0.0.1] helo=quokka.chubb.wattle.id.au) by quokka with esmtp (Exim 4.63) (envelope-from ) id 1GJ4Kf-0001T9-Rr; Fri, 01 Sep 2006 18:24:57 +1000 Date: Fri, 01 Sep 2006 18:24:57 +1000 Message-ID: <87irk8at9i.wl%peterc@quokka.chubb.wattle.id.au> From: Peter Chubb To: Robert Watson In-Reply-To: <20060901080402.W97485@fledge.watson.org> References: <20060901080402.W97485@fledge.watson.org> User-Agent: Wanderlust/2.14.0 (Africa) SEMI/1.14.6 (Maruoka) FLIM/1.14.8 (=?ISO-8859-1?Q?Shij=F2?=) APEL/10.6 XEmacs/21.4 (patch 19) (Constant Variable) (i386-debian-linux) MIME-Version: 1.0 (generated by SEMI 1.14.6 - "Maruoka") X-SA-Exim-Connect-IP: 220.237.8.57 X-SA-Exim-Rcpt-To: rwatson@FreeBSD.org, ppc@FreeBSD.org, ia64@FreeBSD.org, marcel@FreeBSD.org X-SA-Exim-Mail-From: peterc@chubb.wattle.id.au X-Spam-Checker-Version: SpamAssassin 3.1.4 (2006-07-26) on mx.chubb.wattle.id.au X-Spam-Level: X-Spam-Status: No, score=-100.7 required=5.0 tests=ALL_TRUSTED,AWL,BAYES_00, DNS_FROM_RFC_ABUSE,NO_DNS_FOR_FROM,SPF_SOFTFAIL,USER_IN_WHITELIST autolearn=no version=3.1.4 Content-Type: text/plain; charset=US-ASCII X-SA-Exim-Version: 4.2.1 (built Mon, 27 Mar 2006 13:42:28 +0200) X-SA-Exim-Scanned: Yes (on mx.chubb.wattle.id.au) Cc: marcel@FreeBSD.org, ppc@FreeBSD.org, ia64@FreeBSD.org Subject: Re: IA64, PPC system call path audit patches X-BeenThere: freebsd-ia64@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting FreeBSD to the IA-64 List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 01 Sep 2006 08:25:24 -0000 You've only caught the IA64 slow path system call entries. The fast path is highly optimised assembly language inside arch/ia64/kernel/fsys.S, that avoids doing a trap at all. With a modern libc, syscall_via_break is only called for a very few system calls. -- Dr Peter Chubb http://www.gelato.unsw.edu.au peterc AT gelato.unsw.edu.au http://www.ertos.nicta.com.au ERTOS within National ICT Australia