Skip to contentSkip to conversation

kiovec/kiobuf replacement

DISCUSSION Jason Howard 2 participants 2 messages Jan 27, 2003

lore
Share & tools
lore
#0 lore raw

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]
#1 lore raw
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.