kiovec/kiobuf replacement
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.
Thanks,
Jason
Signature · 10 lines
Jason Howard Professional: SpectSoft, LLC http://www.spectsoft.com [email protected] Phone: +1.209.847.7812 Fax: +1.209.847.7859 Personal: http://www.psinux.org [email protected] Cell: +1.209.968.1289 Text Message: [email protected]
Quoted 9 lines · Jason Howard
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.