mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* kiovec/kiobuf replacement
@ 2003-01-27  3:45 Jason Howard
  2003-01-27  4:03 ` Andrew Morton
  0 siblings, 1 reply; 2+ messages in thread
From: Jason Howard @ 2003-01-27  3:45 UTC (permalink / raw)
  To: Linux Kernel Mailing List

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

-- 
 Jason Howard

Professional:
  SpectSoft, LLC
  http://www.spectsoft.com  jason@spectsoft.com      
  Phone: +1.209.847.7812    Fax: +1.209.847.7859
Personal:
  http://www.psinux.org     jason@psinux.org
  Cell: +1.209.968.1289
  Text Message: jasonsphone@psinux.org



^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: kiovec/kiobuf replacement
  2003-01-27  3:45 kiovec/kiobuf replacement Jason Howard
@ 2003-01-27  4:03 ` Andrew Morton
  0 siblings, 0 replies; 2+ messages in thread
From: Andrew Morton @ 2003-01-27  4:03 UTC (permalink / raw)
  To: Jason Howard; +Cc: linux-kernel

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.


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2003-01-27  3:54 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-01-27  3:45 kiovec/kiobuf replacement Jason Howard
2003-01-27  4:03 ` Andrew Morton

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®