svn commit: r233731 - stable/9/lib/libc/sys
Konstantin Belousov
kib at FreeBSD.org
Sat Mar 31 06:53:52 UTC 2012
Author: kib
Date: Sat Mar 31 06:53:52 2012
New Revision: 233731
URL: http://svn.freebsd.org/changeset/base/233731
Log:
MFC r233102:
Do not claim that msync(2) is obsoleted.
Document EIO from msync(2).
Modified:
stable/9/lib/libc/sys/mmap.2
stable/9/lib/libc/sys/msync.2
Directory Properties:
stable/9/lib/libc/ (props changed)
stable/9/lib/libc/sys/ (props changed)
Modified: stable/9/lib/libc/sys/mmap.2
==============================================================================
--- stable/9/lib/libc/sys/mmap.2 Sat Mar 31 06:50:27 2012 (r233730)
+++ stable/9/lib/libc/sys/mmap.2 Sat Mar 31 06:53:52 2012 (r233731)
@@ -28,7 +28,7 @@
.\" @(#)mmap.2 8.4 (Berkeley) 5/11/95
.\" $FreeBSD$
.\"
-.Dd August 28, 2010
+.Dd March 18, 2012
.Dt MMAP 2
.Os
.Sh NAME
@@ -205,7 +205,7 @@ command and
system call generally do not flush dirty NOSYNC VM data.
The
.Xr msync 2
-system call is obsolete since
+system call is usually not needed since
.Bx
implements a coherent file system buffer cache.
However, it may be
Modified: stable/9/lib/libc/sys/msync.2
==============================================================================
--- stable/9/lib/libc/sys/msync.2 Sat Mar 31 06:50:27 2012 (r233730)
+++ stable/9/lib/libc/sys/msync.2 Sat Mar 31 06:53:52 2012 (r233731)
@@ -28,7 +28,7 @@
.\" @(#)msync.2 8.2 (Berkeley) 6/21/94
.\" $FreeBSD$
.\"
-.Dd June 21, 1994
+.Dd March 18, 2012
.Dt MSYNC 2
.Os
.Sh NAME
@@ -98,6 +98,9 @@ The
argument
was both MS_ASYNC and MS_INVALIDATE.
Only one of these flags is allowed.
+.It Bq Er EIO
+ An error occurred while writing at least one of the pages in
+the specified region.
.El
.Sh SEE ALSO
.Xr madvise 2 ,
@@ -113,7 +116,7 @@ system call first appeared in
.Sh BUGS
The
.Fn msync
-system call is obsolete since
+system call is usually not needed since
.Bx
implements a coherent file system buffer cache.
However, it may be used to associate dirty VM pages with file system
More information about the svn-src-stable-9
mailing list