Add a BUGS section and copy the wording from mmap(2)'s MAP_NOSYNC,

documenting the obsoleteness of the msync(2) syscall and its single
remaining purpose.

PR:		70916
Submitted by:	Radim Kolar <hsn@netmag.cz>
MFC after:	3 days
This commit is contained in:
Peter Pentchev 2004-09-03 06:24:25 +00:00
parent 751d4065e6
commit 2f67164732

View File

@ -114,3 +114,12 @@ The
.Fn msync
system call first appeared in
.Bx 4.4 .
.Sh BUGS
The
.Fn msync
system call is obsolete since
.Bx
implements a coherent file system buffer cache.
However, it may be used to associate dirty VM pages with file system
buffers and thus cause them to be flushed to physical media sooner
rather than later.