From owner-freebsd-arch@FreeBSD.ORG Fri Sep 15 14:26:30 2006 Return-Path: X-Original-To: freebsd-arch@FreeBSD.org Delivered-To: freebsd-arch@FreeBSD.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 21E0B16A416 for ; Fri, 15 Sep 2006 14:26:30 +0000 (UTC) (envelope-from delphij@delphij.net) Received: from tarsier.geekcn.org (tarsier.geekcn.org [210.51.165.229]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8652443D6E for ; Fri, 15 Sep 2006 14:26:28 +0000 (GMT) (envelope-from delphij@delphij.net) Received: from localhost (tarsier.geekcn.org [210.51.165.229]) by tarsier.geekcn.org (Postfix) with ESMTP id 890F1EB3158 for ; Fri, 15 Sep 2006 22:26:26 +0800 (CST) X-Virus-Scanned: amavisd-new at geekcn.org Received: from tarsier.geekcn.org ([210.51.165.229]) by localhost (mail.geekcn.org [210.51.165.229]) (amavisd-new, port 10024) with ESMTP id yr3fP9fSaL46 for ; Fri, 15 Sep 2006 22:26:23 +0800 (CST) Received: from [192.168.1.32] (unknown [221.216.126.47]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by tarsier.geekcn.org (Postfix) with ESMTP id 51047EB3100 for ; Fri, 15 Sep 2006 22:26:23 +0800 (CST) DomainKey-Signature: a=rsa-sha1; s=default; d=delphij.net; c=nofws; q=dns; h=message-id:date:from:organization:user-agent:mime-version:to: subject:content-type:content-transfer-encoding; b=jRQHxjAoh3x62TVqXkfzRlwPdZNQlyzLLGXozcPsh1KmHwDNHccmwqHG3P9wDIHlQ sLRkR8j1LrGPSUIenwsTA== Message-ID: <450AB80B.1050100@delphij.net> Date: Fri, 15 Sep 2006 22:26:19 +0800 From: LI Xin Organization: The FreeBSD Project User-Agent: Thunderbird 1.5.0.7 (Macintosh/20060909) MIME-Version: 1.0 To: freebsd-arch@FreeBSD.org Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: Subject: How to map a page with userland program? X-BeenThere: freebsd-arch@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussion related to FreeBSD architecture List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 15 Sep 2006 14:26:30 -0000 Dear folks, Is there a continent and MI way to map a kernel page into userland address space under the same virtual address? It seems that this can be implemented through some routines in MD part of pmap, but is it possible to use higher level VM routines to do the job? Cheers, -- Xin LI http://www.delphij.net/ FreeBSD - The Power to Serve!