Linux Zero Copy

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Code walkthru of Linux 2.4.18 kernel reveals that we do copy from user 
space for both linear and nonlinear skbuffs. What is this zerocopy thing 
then ? If we are copying to different fragments of a non-linear skbuff 
from user space, we can as well copy to a linear skbuff, to which the 
headers can be prepended/appended by the protocol stack below.
I understand that a perfect zero-copy, wherein the user pages are 
themselves DMA'ed by the NIC is very clumsy in UNIX (page flipping etc).
Am I missing something ??

Thanx
tomar

-
: send the line "unsubscribe linux-net" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Netdev]     [Ethernet Bridging]     [Linux 802.1Q VLAN]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Git]     [Bugtraq]     [Yosemite News and Information]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux PCI]     [Linux Admin]     [Samba]

  Powered by Linux