diff options
author | markj <markj@FreeBSD.org> | 2017-02-03 01:16:54 +0000 |
---|---|---|
committer | markj <markj@FreeBSD.org> | 2017-02-03 01:16:54 +0000 |
commit | 4769a8dca31e9dc9c483784abf664cbb9639cada (patch) | |
tree | fb2c1671399111d7c09c4bc1684d8fb8b2d582b1 /lib | |
parent | f4b9ccf4c1fc47c1674d6a38de76e6ba8db7cfbb (diff) | |
download | FreeBSD-src-4769a8dca31e9dc9c483784abf664cbb9639cada.zip FreeBSD-src-4769a8dca31e9dc9c483784abf664cbb9639cada.tar.gz |
MFC r309200:
Launder VPO_NOSYNC pages upon vnode deactivation.
Diffstat (limited to 'lib')
-rw-r--r-- | lib/libc/sys/mmap.2 | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/libc/sys/mmap.2 b/lib/libc/sys/mmap.2 index c818342..82418bd 100644 --- a/lib/libc/sys/mmap.2 +++ b/lib/libc/sys/mmap.2 @@ -28,7 +28,7 @@ .\" @(#)mmap.2 8.4 (Berkeley) 5/11/95 .\" $FreeBSD$ .\" -.Dd February 18, 2015 +.Dd November 25, 2016 .Dt MMAP 2 .Os .Sh NAME @@ -189,6 +189,8 @@ this option any VM pages you dirty may be flushed to disk every so often (every 30-60 seconds usually) which can create performance problems if you do not need that to occur (such as when you are using shared file-backed mmap regions for IPC purposes). +Dirty data will be flushed automatically when all mappings of an object are +removed and all descriptors referencing the object are closed. Note that VM/file system coherency is maintained whether you use .Dv MAP_NOSYNC |