From owner-freebsd-hackers Sun May 18 22:25:05 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.5/8.8.5) id WAA03608 for hackers-outgoing; Sun, 18 May 1997 22:25:05 -0700 (PDT) Received: from dyson.iquest.net (dyson.iquest.net [198.70.144.127]) by hub.freebsd.org (8.8.5/8.8.5) with ESMTP id WAA03600; Sun, 18 May 1997 22:25:00 -0700 (PDT) Received: (from root@localhost) by dyson.iquest.net (8.8.5/8.8.5) id AAA10655; Mon, 19 May 1997 00:24:55 -0500 (EST) From: "John S. Dyson" Message-Id: <199705190524.AAA10655@dyson.iquest.net> Subject: Re: GNAT-pthreads integration bugs/questions In-Reply-To: <199705190428.AAA16419@darkwing.rutgers.edu> from "David S. Miller" at "May 19, 97 00:28:20 am" To: davem@caip.rutgers.edu (David S. Miller) Date: Mon, 19 May 1997 00:24:55 -0500 (EST) Cc: dyson@FreeBSD.ORG, terry@lambert.org, deischen@iworks.InterWorks.org, freebsd-hackers@FreeBSD.ORG, jb@freebsd1.cimlogic.com.au Reply-To: dyson@FreeBSD.ORG X-Mailer: ELM [version 2.4ME+ PL31 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-hackers@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk > From: "John S. Dyson" > Date: Sun, 18 May 1997 23:24:40 -0500 (EST) > > That's the reason that we don't do it. > > Don't you have to setup some sort of mapping to get at vfs pages > during (for example) a read/write? (so this essentially is > pre-faulting the page, avoiding the trap, and I imagine you then tear > down the mapping after the operation is complete?) > Just create a buffer cache buffer. Right now, we pass the page pointers and mappings along in the buffer, but the drivers right now still use the kernel VM mappings. The buffer cache code currently provides both. If mappings are not provided, they can be created at any time or never. John