From owner-freebsd-hackers Wed Jun 4 13:01:32 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.5/8.8.5) id NAA29630 for hackers-outgoing; Wed, 4 Jun 1997 13:01:32 -0700 (PDT) Received: from godzilla.zeta.org.au (godzilla.zeta.org.au [203.2.228.19]) by hub.freebsd.org (8.8.5/8.8.5) with ESMTP id NAA29603 for ; Wed, 4 Jun 1997 13:01:27 -0700 (PDT) Received: (from bde@localhost) by godzilla.zeta.org.au (8.8.5/8.6.9) id FAA14842; Thu, 5 Jun 1997 05:51:02 +1000 Date: Thu, 5 Jun 1997 05:51:02 +1000 From: Bruce Evans Message-Id: <199706041951.FAA14842@godzilla.zeta.org.au> To: freebsd-hackers@FreeBSD.ORG, peb@george.lbl.gov Subject: Re: Virtual address question for VM guru's Sender: owner-hackers@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk >I am working on a project where I need to access the address space of a >process when the process is not necessarily the current process. I am >working on a device driver which requires that I copy data directly into >any writable region in the processes address space. The user informs the >kernel of the address range which is then verified and wired before any >such transfers take place. This _almost_ all works, if the process is not >active at the time the device driver attempts to write to the buffer the >virtual address is giberish. The corresponding problem for DMA is handled by physio(). This is mostly transparent to drivers. Bruce