Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 12 Jul 2015 19:18:19 +0000 (UTC)
From:      Alan Cox <alc@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r285428 - head/lib/libc/sys
Message-ID:  <201507121918.t6CJIJac076797@repo.freebsd.org>

index | next in thread | raw e-mail

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


help

Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201507121918.t6CJIJac076797>