Is there any support or plans for support of "kernel dma",
sort of like the aio stuff, however you just give the kernel
two file descriptors and perhaps some parameters (such as
seeking to a specific point on either or both files and
amount of data to be sent) and
the kernel will then do all the copying for you?

You could avoid a lot of work when doing proxy like
connections this way..

This would be like sendfile() however it would be possible 
to mix socket+socket or fd+fd.

Another interesting application would be to implement this
with an option of tee'ing the transfer into the process'
address space as well.

Just something that popped into my head while writing a 
mini proxy today...  It would save a lot of cycles for
certain apps.
 
-Alfred Perlstein - [bri...@rush.net|bri...@wintelcom.net] 
systems administrator and programmer
    Win Telecom - http://www.wintelcom.net/



To Unsubscribe: send mail to majord...@freebsd.org
with "unsubscribe freebsd-hackers" in the body of the message

Reply via email to