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:
parent
751d4065e6
commit
2f67164732
@ -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.
|
||||
|
Loading…
Reference in New Issue
Block a user