From owner-freebsd-current@FreeBSD.ORG Sun Apr 22 23:39:59 2007 Return-Path: X-Original-To: current@freebsd.org Delivered-To: freebsd-current@FreeBSD.ORG Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id A4B4216A401 for ; Sun, 22 Apr 2007 23:39:59 +0000 (UTC) (envelope-from howard0su@gmail.com) Received: from py-out-1112.google.com (py-out-1112.google.com [64.233.166.179]) by mx1.freebsd.org (Postfix) with ESMTP id 6704413C489 for ; Sun, 22 Apr 2007 23:39:59 +0000 (UTC) (envelope-from howard0su@gmail.com) Received: by py-out-1112.google.com with SMTP id f31so1141651pyh for ; Sun, 22 Apr 2007 16:39:58 -0700 (PDT) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; b=WatZqUdyr4BgZvr+PdL1sCxCZ8MJZlwzn4ZJxR0JwA1BAj1Aj5NQUVRZ3F5PAvF5+yrjzCdyCq4ZueW8IwbwMOiz2g2+TE7Rk4e1DckABicAEVRa3f7zVnTwl0KiW+pNt3nGoMc/2qARPzbXiTh78XqznjFqmpjK5qhE64kU8VU= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; b=CcBtNB1jcgvlxvciLAupwIx12t9Jp8briJqSCj9is5eiA6l6KNykAZzScj5N+9MDqhlIorPMqLNurLKBgLXEDeDwpmpVoJoX8zyZYFwD2MKP768DqiGfLWeVcM/nWY/v83wdd+nQgUwOBwIoYFB4jYA1RZhywB+m1AzPEkxpuRw= Received: by 10.35.127.7 with SMTP id e7mr9847382pyn.1177285198837; Sun, 22 Apr 2007 16:39:58 -0700 (PDT) Received: by 10.35.54.15 with HTTP; Sun, 22 Apr 2007 16:39:58 -0700 (PDT) Message-ID: Date: Sun, 22 Apr 2007 16:39:58 -0700 From: "Howard Su" To: jbr@humppa.dk, current@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline Cc: Subject: Suggestions on Avoiding syscall Overhead X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 22 Apr 2007 23:39:59 -0000 I'd like to give some feature requests on this. I think it will not increase your work load so much however it will benifit the FreeBSD a lot. We can have 3 type of pages mapped into one process's address map. 1. System wide global readonly page which will help on these syscalls: gethostname,getdomainname,uname help on importing sysenter as syscall entry point!! 2. Per process Readonly page. (change will still through standard syscall) help on the syscalls: getuid, geteuid, getpid,getgid, getegid, getpgrp, 3. As you planed, Read+Write Page -- -Howard