From mboxrd@z Thu Jan 1 00:00:00 1970 Received: (from majordomo@localhost) by pauillac.inria.fr (8.7.6/8.7.3) id BAA23542; Thu, 6 Jun 2002 01:48:52 +0200 (MET DST) X-Authentication-Warning: pauillac.inria.fr: majordomo set sender to owner-caml-list@pauillac.inria.fr using -f Received: from nez-perce.inria.fr (nez-perce.inria.fr [192.93.2.78]) by pauillac.inria.fr (8.7.6/8.7.3) with ESMTP id BAA23646 for ; Thu, 6 Jun 2002 01:48:51 +0200 (MET DST) Received: from gato.phys.clemson.edu (gato.phys.clemson.edu [130.127.188.133]) by nez-perce.inria.fr (8.11.1/8.11.1) with ESMTP id g55Nmnr11806 for ; Thu, 6 Jun 2002 01:48:50 +0200 (MET DST) Received: from adsl-156-184-211.gsp.bellsouth.net ([66.156.184.211] helo=elefante.local) by gato.phys.clemson.edu with asmtp (Exim 3.35 #1 (Debian)) id 17FkWF-0006eJ-00 for ; Wed, 05 Jun 2002 19:48:48 -0400 Received: from oso.local ([192.168.1.3]) by elefante.local with esmtp (Exim 3.35 #1 (Debian)) id 17FkWD-0000Hk-00 for ; Wed, 05 Jun 2002 19:48:45 -0400 Received: from fernando by oso.local with local (Exim 3.35 #1 (Debian)) id 17FkWK-00014R-00 for ; Wed, 05 Jun 2002 19:48:52 -0400 Date: Wed, 5 Jun 2002 19:48:52 -0400 To: caml-list@inria.fr Subject: [Caml-list] camlimages and kernel memory Message-ID: <20020605234852.GA4103@oso.local> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.3.28i From: Fernando Alegre Sender: owner-caml-list@pauillac.inria.fr Precedence: bulk Hi, We would like to use some kernel memory buffers from the camlimages libraries without copying the data to userland. The data comes from digital cameras directly (using DMA) to a kernel ringbuffer. Caml does not own that memory, but we want Caml to use it as just another Image.t chunk (with a wrapper, of course.) Our question is: is there a safe way to do this? We don't want the garbage collector to mess with the kernel memory, but we don't want to have to code separately for "userland" and "kernel" images... Any suggestion will be appreciated. Thanks, Fernando ------------------- To unsubscribe, mail caml-list-request@inria.fr Archives: http://caml.inria.fr Bug reports: http://caml.inria.fr/bin/caml-bugs FAQ: http://caml.inria.fr/FAQ/ Beginner's list: http://groups.yahoo.com/group/ocaml_beginners