Re: [PATCH] TCP Zero Copy for mmapped files

From: David S. Miller (davem@redhat.com)
Date: Thu Jan 02 2003 - 21:40:04 EST


   From: Alan Cox <alan@lxorguk.ukuu.org.uk>
   Date: 03 Jan 2003 00:56:59 +0000

   On Thu, 2003-01-02 at 23:16, David S. Miller wrote:
> With sendfile() all of this goes straight to the page cache directly
> without a VMA lookup.
   
   With a nasty unpleasant splat the moment you do modification on the
   content at all. For static objects sendfile is certainly superior,
   
Sendfile does not protect against content changes to the
file contents. We don't lock the pages, we merely grab
references to them for the network I/O.
-
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/



This archive was generated by hypermail 2b29 : Tue Jan 07 2003 - 22:00:20 EST