cvs commit: src/sys/kern uipc_syscalls.c

John-Mark Gurney jmg at funkthat.com
Sun Apr 27 17:49:53 UTC 2008


Robert Watson wrote this message on Sun, Apr 27, 2008 at 15:50 +0000:
>   Note that the current fix isn't perfect, but better than
>   panicking: normally we guarantee that simultaneous invocations
>   of a system call to write on a stream socket won't be
>   interlaced, which is ensured by use of the socket buffer sleep
>   lock.  This is guaranteed for the sendfile headers, but not
>   trailers.  In practice, this is likely not a problem, but
>   should be fixed.

Should this be mentioned in the BUGS section of the sendfile(2)
man page? or do you plan on fixing this in the near future?

-- 
  John-Mark Gurney				Voice: +1 415 225 5579

     "All that I will do, has been done, All that I have, has not."


More information about the cvs-src mailing list