Re: kiovec/kiobuf replacement

From: Andrew Morton (akpm@digeo.com)
Date: Sun Jan 26 2003 - 23:03:46 EST


Jason Howard <lists@spectsoft.com> wrote:
>
> Hello All,
>
> What is the correct change in code/mindset needed to replace the
> kiovec/kiobuf routines? I am currently using there routines to do a
> scatter gather DMA from a user space buffer to/from a PCI video frame
> buffer device. Should I approach this problem differently? The user
> space buffer can be up to 8MB in size.
>

Direct use of get_user_pages() seems to be working OK for that sort of thing.

-
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 : Fri Jan 31 2003 - 22:00:16 EST