Re: Question regarding DMA xfer to user space directly

Jens Axboe (axboe@suse.de)
Thu, 10 Jul 2003 12:26:55 +0200


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

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/