Re: Question regarding DMA xfer to user space directly

Jens Axboe
2003-07-10T10:13:00Z

On Thu, Jul 10 2003, Mikael Starvik wrote:
> Hi,
>
> Use map_user_kiobuf to do this. There are several examples
> in the kernel tree. One of the simplest may be
> arch/cris/drivers/examples/kiobuftest.c.

get_user_pages() is a much better idea, considering 2.5/6 has no concept
of kiobufs.

--
Jens Axboe