Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 19 May 2004 05:29:07 -0700
From:      Alfred Perlstein <alfred@freebsd.org>
To:        hackers@freebsd.org
Subject:   api for sharing memory from kernel to userspace?
Message-ID:  <20040519122907.GO81341@elvis.mu.org>

next in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20040519122907.GO81341>