From owner-freebsd-current@FreeBSD.ORG Tue May 16 21:27:20 2006 Return-Path: X-Original-To: current@FreeBSD.ORG Delivered-To: freebsd-current@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id A380A16AB3E; Tue, 16 May 2006 21:27:20 +0000 (UTC) (envelope-from jmg@hydrogen.funkthat.com) Received: from hydrogen.funkthat.com (gate.funkthat.com [69.17.45.168]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3C97443D49; Tue, 16 May 2006 21:27:09 +0000 (GMT) (envelope-from jmg@hydrogen.funkthat.com) Received: from hydrogen.funkthat.com (phjl5fieu4c84qqt@localhost.funkthat.com [127.0.0.1]) by hydrogen.funkthat.com (8.13.4/8.13.3) with ESMTP id k4GLR8IO013153; Tue, 16 May 2006 14:27:08 -0700 (PDT) (envelope-from jmg@hydrogen.funkthat.com) Received: (from jmg@localhost) by hydrogen.funkthat.com (8.13.4/8.13.3/Submit) id k4GLR7xv013152; Tue, 16 May 2006 14:27:07 -0700 (PDT) (envelope-from jmg) Date: Tue, 16 May 2006 14:27:07 -0700 From: John-Mark Gurney To: Maxim Sobolev Message-ID: <20060516212707.GI65555@funkthat.com> Mail-Followup-To: Maxim Sobolev , Poul-Henning Kamp , "current@freebsd.org" References: <4468DC05.9080808@sippysoft.com> <4488.1147758036@critter.freebsd.dk> <20060516082406.GA32353@gk.360sip.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20060516082406.GA32353@gk.360sip.com> User-Agent: Mutt/1.4.2.1i X-Operating-System: FreeBSD 5.4-RELEASE-p6 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: Poul-Henning Kamp , "current@freebsd.org" Subject: Re: Optional mmap(2) support for geom(4) providers X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: John-Mark Gurney List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 16 May 2006 21:27:24 -0000 Maxim Sobolev wrote this message on Tue, May 16, 2006 at 01:24 -0700: > Well, in my particular case I would like to experiment with > dynamic exporting of shared ELF objects from the kernel into > userspace. md(4) seems like a good fit, but dlopen(3) uses > mmap, so that it doesn't work OOB. There can be other uses > as well. Doing a seperate cdev that implements mmap is quite easy... For something like that it seems like you wouldn't need any of md's disk device features, would you? -- John-Mark Gurney Voice: +1 415 225 5579 "All that I will do, has been done, All that I have, has not."