zero-copy receive?
| Newsgroups | gmane.network.tux |
|---|---|
| Message-ID | <[email protected]> |
Hi,
I am hacking tux's code. I saw read_request is
called to receive http requests. This fuction call
tcp_recvmsg to copy data from sk_buffer to tux's own
buffer (req->headers). Is is possible to eliminate this
copy? I heard Linux already support zero-copy socket,
is it true? How to use it?
Thanks!
Donghui