Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 25 Jun 2019 17:27:37 +0000 (UTC)
From:      Doug Moore <dougm@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r349379 - head/share/man/man9
Message-ID:  <201906251727.x5PHRbi8015049@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: dougm
Date: Tue Jun 25 17:27:37 2019
New Revision: 349379
URL: https://svnweb.freebsd.org/changeset/base/349379

Log:
  Document the KERN_PROTECTION_FAILURE return value from vm_map_protect().
  
  Reviewed by: alc (earlier version)
  Approved by: kib, markj (mentors)
  Differential Revision: https://reviews.freebsd.org/D20751

Modified:
  head/share/man/man9/vm_map_protect.9

Modified: head/share/man/man9/vm_map_protect.9
==============================================================================
--- head/share/man/man9/vm_map_protect.9	Tue Jun 25 17:24:43 2019	(r349378)
+++ head/share/man/man9/vm_map_protect.9	Tue Jun 25 17:27:37 2019	(r349379)
@@ -96,6 +96,11 @@ would exceed
 for an entry within the range,
 .Dv KERN_PROTECTION_FAILURE
 is returned.
+If a copy-on-write mapping is transitioned from read-only to
+read-write, and too little swap space is available for backing the
+copied pages,
+.Dv KERN_RESOURCE_SHORTAGE
+is returned.
 .Sh SEE ALSO
 .Xr vm_map 9
 .Sh AUTHORS



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