public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* How to avoid data copies in a driver ?
@ 2008-05-14 19:54 Francis Moreau
  2008-05-14 20:02 ` Lennart Sorensen
                   ` (2 more replies)
  0 siblings, 3 replies; 13+ messages in thread
From: Francis Moreau @ 2008-05-14 19:54 UTC (permalink / raw)
  To: linux-kernel

Hello,

I'd like to optimize my driver, which receives data through a fifo and gives
them to a user space application. In turns this application moves this data
into a file.

To avoid several useless copies, I'd like the application to pass to the driver
a  file descriptor (?) to  the driver and then the driver can directly move the
received data to that file.

Could anybody give me some example of such scheme ?

Thanks,
-- 
Francis

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

end of thread, other threads:[~2008-05-21 10:42 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-05-14 19:54 How to avoid data copies in a driver ? Francis Moreau
2008-05-14 20:02 ` Lennart Sorensen
2008-05-15  7:44   ` Francis Moreau
2008-05-15 13:59     ` Lennart Sorensen
2008-05-16 20:17       ` Francis Moreau
2008-05-14 21:23 ` linux-os (Dick Johnson)
2008-05-15  7:40   ` Francis Moreau
2008-05-15 11:50     ` Arnd Hannemann
2008-05-15 12:08       ` Francis Moreau
2008-05-15 13:16     ` linux-os (Dick Johnson)
2008-05-16  8:10     ` Jeremy Fitzhardinge
2008-05-16 11:44       ` Francis Moreau
2008-05-21 10:41 ` Pavel Machek

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