Date: Wed, 19 May 2004 16:34:53 +0200 From: Pawel Jakub Dawidek <pjd@FreeBSD.org> To: Alfred Perlstein <alfred@freebsd.org> Cc: hackers@freebsd.org Subject: Re: api for sharing memory from kernel to userspace? Message-ID: <20040519143453.GZ845@darkness.comp.waw.pl> In-Reply-To: <20040519122907.GO81341@elvis.mu.org> References: <20040519122907.GO81341@elvis.mu.org>
next in thread | previous in thread | raw e-mail | index | archive | help
[-- Attachment #1 --] On Wed, May 19, 2004 at 05:29:07AM -0700, Alfred Perlstein wrote: +> 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. In mapping kernel memory into user's address space I am interested as well for GEOM Gate and other evil projects. -- Pawel Jakub Dawidek http://www.FreeBSD.org pjd@FreeBSD.org http://garage.freebsd.pl FreeBSD committer Am I Evil? Yes, I Am! [-- Attachment #2 --] -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (FreeBSD) iD8DBQFAq3CNForvXbEpPzQRAgeOAKDx5UH/QPBE6mqZ09wtzSyicESs6gCgx38y JPB1As1wMlLu2bqm9ARAIPI= =gIGa -----END PGP SIGNATURE-----
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20040519143453.GZ845>
