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
This commit is contained in:
Alan Cox 2015-07-12 19:18:19 +00:00
parent a1912cc902
commit 131041fa2a
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=285428

View File

@ -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 map the pages already in memory
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