inverse mmap() available?

From: Norbert Roos (
Date: Fri Sep 28 2001 - 10:16:08 EST


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 =

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.

To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
More majordomo info at
Please read the FAQ at

This archive was generated by hypermail 2b29 : Sun Sep 30 2001 - 21:01:02 EST