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:
parent
eb8d3d79be
commit
c97201a229
@ -28,7 +28,7 @@
|
|||||||
.\" @(#)madvise.2 8.1 (Berkeley) 6/9/93
|
.\" @(#)madvise.2 8.1 (Berkeley) 6/9/93
|
||||||
.\" $FreeBSD$
|
.\" $FreeBSD$
|
||||||
.\"
|
.\"
|
||||||
.Dd January 30, 2014
|
.Dd July 12, 2015
|
||||||
.Dt MADVISE 2
|
.Dt MADVISE 2
|
||||||
.Os
|
.Os
|
||||||
.Sh NAME
|
.Sh NAME
|
||||||
@ -79,9 +79,9 @@ pages in from backing store, but quickly map the pages already in memory
|
|||||||
into the calling process.
|
into the calling process.
|
||||||
.It Dv MADV_DONTNEED
|
.It Dv MADV_DONTNEED
|
||||||
Allows the VM system to decrease the in-memory priority
|
Allows the VM system to decrease the in-memory priority
|
||||||
of pages in the specified range.
|
of pages in the specified address range.
|
||||||
Additionally future references to
|
Consequently, future references to this address range are more likely
|
||||||
this address range will incur a page fault.
|
to incur a page fault.
|
||||||
.It Dv MADV_FREE
|
.It Dv MADV_FREE
|
||||||
Gives the VM system the freedom to free pages,
|
Gives the VM system the freedom to free pages,
|
||||||
and tells the system that information in the specified page range
|
and tells the system that information in the specified page range
|
||||||
|
Loading…
x
Reference in New Issue
Block a user