public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* inverse mmap() available?
@ 2001-09-28 15:16 Norbert Roos
  2001-09-28 15:28 ` Tommy Reynolds
  2001-09-28 15:30 ` Christoph Hellwig
  0 siblings, 2 replies; 5+ messages in thread
From: Norbert Roos @ 2001-09-28 15:16 UTC (permalink / raw)
  To: linux-kernel


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

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2001-10-01  7:39 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2001-09-28 15:16 inverse mmap() available? Norbert Roos
2001-09-28 15:28 ` 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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox