From owner-freebsd-hackers Thu Dec 6 22:32:12 2001 Delivered-To: freebsd-hackers@freebsd.org Received: from elvis.mu.org (elvis.mu.org [216.33.66.196]) by hub.freebsd.org (Postfix) with ESMTP id 5DDD837B41B for ; Thu, 6 Dec 2001 22:32:08 -0800 (PST) Received: by elvis.mu.org (Postfix, from userid 1192) id DBC6581E0A; Fri, 7 Dec 2001 00:32:02 -0600 (CST) Date: Fri, 7 Dec 2001 00:32:02 -0600 From: Alfred Perlstein To: David Xu Cc: Nicolas Souchu , freebsd-hackers@FreeBSD.ORG Subject: Re: kld VM pager Message-ID: <20011207003202.K92148@elvis.mu.org> References: <20011206143022.H13566@cedar.alcove-fr> <3C10410E.9040805@viasoft.com.cn> <20011206231758.J92148@elvis.mu.org> <3C105A26.9090005@viasoft.com.cn> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <3C105A26.9090005@viasoft.com.cn>; from davidx@viasoft.com.cn on Fri, Dec 07, 2001 at 01:56:54PM +0800 Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG * David Xu [011207 00:01] wrote: > you mean we can use OBJT_PHYS? do we fully support it? > althougth we have phys_pager, I suspect it is not enough, because > along with fault handling, graphics driver will need other operations, for > examples, unmap other pages and setup hardware registers, > think about a frame buffer driver need to map 32K window into 1024K > address space, when fault ocurrs in second 32K window, it should unmap > first 32K address and activate second 32K address and setup graphics card > registers to let later access to its internal second 32K memory bank. > how can you handle such issue after vm_fault? By setting the proper page protections. -- -Alfred Perlstein [alfred@freebsd.org] 'Instead of asking why a piece of software is using "1970s technology," start asking why software is ignoring 30 years of accumulated wisdom.' http://www.morons.org/rants/gpl-harmful.php3 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message