From owner-freebsd-hackers@FreeBSD.ORG Tue Dec 7 22:19:21 2004 Return-Path: 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 61F2D16A4CE for ; Tue, 7 Dec 2004 22:19:21 +0000 (GMT) Received: from mail2.speakeasy.net (mail2.speakeasy.net [216.254.0.202]) by mx1.FreeBSD.org (Postfix) with ESMTP id 258D443D5A for ; Tue, 7 Dec 2004 22:19:21 +0000 (GMT) (envelope-from jmg@hydrogen.funkthat.com) Received: (qmail 20516 invoked from network); 7 Dec 2004 22:19:20 -0000 Received: from gate.funkthat.com (HELO hydrogen.funkthat.com) ([69.17.45.168]) (envelope-sender ) by mail2.speakeasy.net (qmail-ldap-1.03) with SMTP for ; 7 Dec 2004 22:19:20 -0000 Received: from hydrogen.funkthat.com (ktgbsh@localhost.funkthat.com [127.0.0.1])iB7MJKGH050648; Tue, 7 Dec 2004 14:19:20 -0800 (PST) (envelope-from jmg@hydrogen.funkthat.com) Received: (from jmg@localhost) by hydrogen.funkthat.com (8.12.10/8.12.10/Submit) id iB7MJJEG050647; Tue, 7 Dec 2004 14:19:19 -0800 (PST) Date: Tue, 7 Dec 2004 14:19:19 -0800 From: John-Mark Gurney To: "Kamal R. Prasad" Message-ID: <20041207221919.GQ19624@funkthat.com> Mail-Followup-To: "Kamal R. Prasad" , freebsd-hackers@freebsd.org References: <41B20B19.3090204@acm.org> <20041206025126.GO19624@funkthat.com> <41B3F24B.1000903@acm.org> <20041206074237.GP19624@funkthat.com> <41B5DF9B.50501@acm.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <41B5DF9B.50501@acm.org> User-Agent: Mutt/1.4.1i X-Operating-System: FreeBSD 4.2-RELEASE i386 X-PGP-Fingerprint: B7 EC EF F8 AE ED A7 31 96 7A 22 B3 D8 56 36 F4 X-Files: The truth is out there X-URL: http://resnet.uoregon.edu/~gurney_j/ X-Resume: http://resnet.uoregon.edu/~gurney_j/resume.html cc: freebsd-hackers@freebsd.org Subject: Re: mmap() X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: John-Mark Gurney List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 07 Dec 2004 22:19:21 -0000 Kamal R. Prasad wrote this message on Tue, Dec 07, 2004 at 22:21 +0530: > There was a bug in my interface routine which probably resulted in too > many calls. > Something like *paddr=vtophys(base) instead of > *paddr=vtophys(base+offset) should result in lots of calls to the interface. Just remeber that vtophys is not a supported interface in HEAD, (if it still works, it will probably be removed shortly).. Also, vtophys only works on limited archs, like i386 and alpha... -- John-Mark Gurney Voice: +1 415 225 5579 "All that I will do, has been done, All that I have, has not."