Re: Question regarding DMA xfer to user space directly

From: Jens Axboe (axboe@suse.de)
Date: Thu Jul 10 2003 - 05:26:55 EST


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/



This archive was generated by hypermail 2b29 : Tue Jul 15 2003 - 22:00:34 EST