diff options
author | alc <alc@FreeBSD.org> | 2015-07-12 19:18:19 +0000 |
---|---|---|
committer | alc <alc@FreeBSD.org> | 2015-07-12 19:18:19 +0000 |
commit | c97201a229203466ce9f8fe4b2eda46d7272983a (patch) | |
tree | 773370a2a440d73d49dc4523dc1ebc593ffbc64f /lib/libc | |
parent | eb8d3d79be8bb6f305af1de7dd927a927a6171f8 (diff) | |
download | FreeBSD-src-c97201a229203466ce9f8fe4b2eda46d7272983a.zip FreeBSD-src-c97201a229203466ce9f8fe4b2eda46d7272983a.tar.gz |
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
Diffstat (limited to 'lib/libc')
-rw-r--r-- | lib/libc/sys/madvise.2 | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/libc/sys/madvise.2 b/lib/libc/sys/madvise.2 index 357e05e..499bf67 100644 --- a/lib/libc/sys/madvise.2 +++ b/lib/libc/sys/madvise.2 @@ -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 |