How to avoid data copies in a driver ?
- From: "Francis Moreau" <francis.moro@xxxxxxxxx>
- Date: Wed, 14 May 2008 21:54:03 +0200
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
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
- Follow-Ups:
- Re: How to avoid data copies in a driver ?
- From: Pavel Machek
- Re: How to avoid data copies in a driver ?
- From: linux-os (*** Johnson)
- Re: How to avoid data copies in a driver ?
- From: Lennart Sorensen
- Re: How to avoid data copies in a driver ?
- Prev by Date: Re: [patch 21/21] slab defrag: Obsolete SLAB
- Next by Date: Re: [PATCH] OSS trident: switch from ->write_proc
- Previous by thread: troubleshooting/debugging hard locks
- Next by thread: Re: How to avoid data copies in a driver ?
- Index(es):