From: Christoph Hellwig <hch@ns.caldera.de>
To: n.roos@berlin.de (Norbert Roos)
Cc: linux-kernel@vger.kernel.org, kernelnewbies@nl.linux.org
Subject: Re: inverse mmap() available?
Date: Fri, 28 Sep 2001 17:30:37 +0200 [thread overview]
Message-ID: <200109281530.f8SFUbN18754@ns.caldera.de> (raw)
In-Reply-To: <3BB49438.1F2C59B3@berlin.de>
In article <3BB49438.1F2C59B3@berlin.de> you wrote:
> 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.
map_user_kiobuf is what you want :) Some more explanation at:
ftp://ftp.openlinux.org/pub/people/hch/kio/kiobuf.txt
next prev parent reply other threads:[~2001-09-28 15:30 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2001-09-28 15:16 inverse mmap() available? Norbert Roos
2001-09-28 15:28 ` Tommy Reynolds
2001-09-28 15:30 ` Christoph Hellwig [this message]
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=200109281530.f8SFUbN18754@ns.caldera.de \
--to=hch@ns.caldera.de \
--cc=kernelnewbies@nl.linux.org \
--cc=linux-kernel@vger.kernel.org \
--cc=n.roos@berlin.de \
/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