summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--lib/libc/sys/msync.29
1 files changed, 9 insertions, 0 deletions
diff --git a/lib/libc/sys/msync.2 b/lib/libc/sys/msync.2
index 28aa1a7..e7d50c3 100644
--- a/lib/libc/sys/msync.2
+++ b/lib/libc/sys/msync.2
@@ -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.
OpenPOWER on IntegriCloud