lkml.org 
[lkml]   [1999]   [Jun]   [3]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: zero-copy TCP fileserving
   Date: 	Thu, 3 Jun 1999 12:45:48 +0200 (MET DST)
From: Bjorn Wesen <bjorn@sparta.lu.se>

Since the process sleeps while doing the write(), it cannot munmap
or do nasty things to the mapping I guess. But the above is
probably more complicated than it sounds :)

A thread certainly can, and for TCP the write can return before the
networking/driver can safely release the reference.

All of these issues will be dealt with by Stephen Tweedie's kiobuf
interface. If and when this goes into the standard kernel, you can be
sure I'll make the networking take advantage of it :-)

Later,
David S. Miller
davem@redhat.com

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 13:52    [W:0.032 / U:0.024 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site