zero-copy

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

 



Hello,

I was looking through the 'udp_getfrag' function in the 2.4.20
tree, and it seems that it still copies the entire buffer to be
transmitted to kernel-space instead of linking in into the sk_buff
structure. Sorry if this has already been asked/answered before,
but I'd like to know why this has been implemented for tcp and
not udp - if there is a particular reason...

Also, in the case of tcp, what would happen if the send call were
to block, and a process were to write to the buffer before it
was relinquished by the kernel?

Regards,
Sapan

--
Kernelnewbies: Help each other learn about the Linux kernel.
Archive:       http://mail.nl.linux.org/kernelnewbies/
FAQ:           http://kernelnewbies.org/faq/



[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux