Messages in this thread | ![/](/images/icornerl.gif) | | Date | Wed, 05 Apr 2006 11:05:19 -0400 | From | Jeff Garzik <> | Subject | Re: Here is the tcp-zero-copy patch for kernel 2.6.12-6 . |
| |
yzy wrote: > Hello linux-kernel: > > I do some work on tcp-zero-copy for kernel 2.6.12-6 ( vanilla ) , Here > is the patch . Please review and discussion it . > > The patch modify mainly these files below : > (1) include/linux/skbuff.h : add a zccd_t struct , it include the > zero-copy's callback function pointer and reference count. > (2)include/net/tcp.h : add a new function tcp_sendpage_zccd( ) . It > was used as send a memory page to TCP/IP stack. > (3)net/core/dev.c (4)net/core/skbuff.c : process the initial ,refcount > and release of zccd information. > (5)net/ipv4/tcp.c : call the tcp_sendpage_zccd() function to send a > memory page.
1) Why, we already have zero-copy?
2) Please send to netdev@vger.kernel.org, which is where the people who maintain this code live.
Jeff
- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| ![\](/images/icornerr.gif) |