Erik Mouw wrote:
On Tue, 6 Jan 2009 23:16:14 +0530 "Rohit Sharma" <imreckless@xxxxxxxxx>
wrote:
On Tue, Jan 6, 2009 at 11:09 PM, Manish Katiyar <mkatiyar@xxxxxxxxx>
wrote:
Apart from performance, is there anything else you are worried
about ?
Performance is only a bottleneck,
this can be done in user land
but kernel space solution will be more efficient.
Hardly more efficient. Your main bottleneck will be IO from/to the
device. If you are worried about copying between kernel and userland,
you could use the tee(2) and splice(2) system calls. They are relatively
new, so your system might not yet have manual pages for them. In that
case, see http://linux.die.net/man/2/tee and
http://linux.die.net/man/2/splice .
Hm.. that is pretty enlightening...
Thanks,
Om.
--
To unsubscribe from this list: send an email with
"unsubscribe kernelnewbies" to ecartis@xxxxxxxxxxxx
Please read the FAQ at http://kernelnewbies.org/FAQ