svn commit: r285428 - head/lib/libc/sys
Alan Cox
alc at FreeBSD.org
Sun Jul 12 19:18:20 UTC 2015
Author: alc
Date: Sun Jul 12 19:18:19 2015
New Revision: 285428
URL: https://svnweb.freebsd.org/changeset/base/285428
Log:
Correct the description of MADV_DONTNEED. Specifically, after using
MADV_DONTNEED, while pages faults on the affected address range are more
likely to occur, they are not guaranteed to occur.
MFC after: 3 days
Modified:
head/lib/libc/sys/madvise.2
Modified: head/lib/libc/sys/madvise.2
==============================================================================
--- head/lib/libc/sys/madvise.2 Sun Jul 12 19:17:05 2015 (r285427)
+++ head/lib/libc/sys/madvise.2 Sun Jul 12 19:18:19 2015 (r285428)
@@ -28,7 +28,7 @@
.\" @(#)madvise.2 8.1 (Berkeley) 6/9/93
.\" $FreeBSD$
.\"
-.Dd January 30, 2014
+.Dd July 12, 2015
.Dt MADVISE 2
.Os
.Sh NAME
@@ -79,9 +79,9 @@ pages in from backing store, but quickly
into the calling process.
.It Dv MADV_DONTNEED
Allows the VM system to decrease the in-memory priority
-of pages in the specified range.
-Additionally future references to
-this address range will incur a page fault.
+of pages in the specified address range.
+Consequently, future references to this address range are more likely
+to incur a page fault.
.It Dv MADV_FREE
Gives the VM system the freedom to free pages,
and tells the system that information in the specified page range
More information about the svn-src-all
mailing list