From owner-freebsd-hackers@FreeBSD.ORG Wed May 19 05:29:11 2004 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 CBB3416A4CE for ; Wed, 19 May 2004 05:29:11 -0700 (PDT) Received: from elvis.mu.org (elvis.mu.org [192.203.228.196]) by mx1.FreeBSD.org (Postfix) with ESMTP id AE27743D5D for ; Wed, 19 May 2004 05:29:11 -0700 (PDT) (envelope-from bright@elvis.mu.org) Received: by elvis.mu.org (Postfix, from userid 1192) id C40AA5C7EA; Wed, 19 May 2004 05:29:07 -0700 (PDT) Date: Wed, 19 May 2004 05:29:07 -0700 From: Alfred Perlstein To: hackers@freebsd.org Message-ID: <20040519122907.GO81341@elvis.mu.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.4.2.1i Subject: api for sharing memory from kernel to userspace? 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: Wed, 19 May 2004 12:29:11 -0000 I need to share about 100megs of memory between kernel and userspace. The memory can not be paged and should appear contig in the process's address space. Any suggestions? I need a way to either: map user memory into the kernel's address space. map kernel memory into the user's address space. I was looking at pmap_qenter() but it didn't see attractive because it's for "short term mappings", this mapping will exist for quite a while. -- - Alfred Perlstein - Research Engineering Development Inc. - email: bright@mu.org cell: 408-480-4684