svn commit: r201994 - stable/8/lib/libc/sys

Konstantin Belousov kib at FreeBSD.org
Sun Jan 10 11:25:35 UTC 2010


Author: kib
Date: Sun Jan 10 11:25:34 2010
New Revision: 201994
URL: http://svn.freebsd.org/changeset/base/201994

Log:
  MFC r201743:
  Give some information on SF_MNOWAIT flag.
  
  MFC r201759 (by brueffer):
  Fix a typo and bump date for the previous commit.
  
  MFC r201760:
  Further fix grammar.

Modified:
  stable/8/lib/libc/sys/sendfile.2
Directory Properties:
  stable/8/lib/libc/   (props changed)
  stable/8/lib/libc/stdtime/   (props changed)

Modified: stable/8/lib/libc/sys/sendfile.2
==============================================================================
--- stable/8/lib/libc/sys/sendfile.2	Sun Jan 10 11:02:10 2010	(r201993)
+++ stable/8/lib/libc/sys/sendfile.2	Sun Jan 10 11:25:34 2010	(r201994)
@@ -25,7 +25,7 @@
 .\"
 .\" $FreeBSD$
 .\"
-.Dd November 24, 2006
+.Dd January 7, 2010
 .Dt SENDFILE 2
 .Os
 .Sh NAME
@@ -116,9 +116,17 @@ Busy servers may benefit by transferring
 block to a separate I/O worker thread.
 .It
 .Dv SF_MNOWAIT .
-(description missing)
+Do not wait for some kernel resource to become available,
+in particular,
+.Vt mbuf
+and
+.Vt sf_buf .
+The flag does not make the
+.Fn sendfile
+syscall truly non-blocking, since other resources are still allocated
+in a blocking fashion.
 .It
-.Dv SF_SYNC ,
+.Dv SF_SYNC .
 .Nm
 sleeps until the network stack no longer references the VM pages
 of the file, making subsequent modifications to it safe.


More information about the svn-src-stable mailing list