From owner-freebsd-hackers@FreeBSD.ORG Sat Feb 26 07:26:47 2005 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 4D8C916A4CE for ; Sat, 26 Feb 2005 07:26:47 +0000 (GMT) Received: from web26802.mail.ukl.yahoo.com (web26802.mail.ukl.yahoo.com [217.146.176.78]) by mx1.FreeBSD.org (Postfix) with SMTP id 86E6E43D53 for ; Sat, 26 Feb 2005 07:26:46 +0000 (GMT) (envelope-from aziz_kezzou@yahoo.fr) Received: (qmail 76952 invoked by uid 60001); 26 Feb 2005 07:26:45 -0000 Message-ID: <20050226072645.76950.qmail@web26802.mail.ukl.yahoo.com> Received: from [129.97.227.107] by web26802.mail.ukl.yahoo.com via HTTP; Sat, 26 Feb 2005 08:26:45 CET Date: Sat, 26 Feb 2005 08:26:45 +0100 (CET) From: Aziz KEZZOU To: freebsd-hackers@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Subject: RE: Sharing data between user space and kernel X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 26 Feb 2005 07:26:47 -0000 >sleeping(). What you probably want to do is >actually allocate wired kernel pages and export them to >userspace. Take a >look at the GEOM gstat(8) implementation, which does >exactly that. >However, you have to make sure that if you ever decide >to reuse that >kernel memory for something else (i.e., free it back to >the allocator), >you've GC'd all userspace references to it. Could you please point me to the place where "GEOM gstat" is implemented ? I don't seem to find it :-( Thanks a lot, neo Découvrez le nouveau Yahoo! Mail : 250 Mo d'espace de stockage pour vos mails ! Créez votre Yahoo! Mail sur http://fr.mail.yahoo.com/