On Sun, 17 Aug 2003 22:36:40 +0530 (IST) Nagendra Singh Tomar <nagendra_tomar@adaptec.com> wrote: > But in the case of the user making a temp file, mmaping it, > writing to the mmaped area and then using sendfile, we are not saving any > copy. Yes we are. > Is'nt this the same like, user passing a buffer to sendmsg(). Nope, it's totally different. > This buffer gets copied to an skbuff Nope, sendfile() will merely hang a reference to the page in the filesystem cache holding this data, no copies will be made. The card will DMA directly from memory and checksum the packet. Franks a lot, David S. Miller davem@redhat.com - : 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