From: Norbert Roos <n.roos@berlin.de>
To: linux-kernel@vger.kernel.org
Subject: inverse mmap() available?
Date: Fri, 28 Sep 2001 17:16:08 +0200 [thread overview]
Message-ID: <3BB49438.1F2C59B3@berlin.de> (raw)
Hello!
Is there a way to map user space memory into kernel address space, e.g.
that i don't have to call get_user(var,...) but simply use var =
*user_space_ptr?
What i intend to do (as the next step) is to DMA-transfer data directly
between a PCI device and user space memory. The buffer in user space
should be allocated with malloc(), so allocating a buffer in kernel and
mmap()-ping it to user space is not the solution..
I guess this has been asked before, any links to further information
would be great.
Thanks
Norbert
next reply other threads:[~2001-09-28 15:16 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2001-09-28 15:16 Norbert Roos [this message]
2001-09-28 15:28 ` inverse mmap() available? Tommy Reynolds
2001-09-28 15:30 ` Christoph Hellwig
2001-09-28 16:50 ` putting a user program to sleep till interrupted Anil Kumar
2001-10-01 7:39 ` Martin Maletinsky
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=3BB49438.1F2C59B3@berlin.de \
--to=n.roos@berlin.de \
--cc=linux-kernel@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox