summaryrefslogtreecommitdiffstats
path: root/share
diff options
context:
space:
mode:
authorkmacy <kmacy@FreeBSD.org>2012-01-28 17:27:58 +0000
committerkmacy <kmacy@FreeBSD.org>2012-01-28 17:27:58 +0000
commit4c87ca2cdcbc5b75ee372b4be70e63d77315bb2e (patch)
tree2183db0aac40a8b36207119e2a5e709712a125bf /share
parente0549932740f963c8ed2500c4b089e58f7272d3f (diff)
downloadFreeBSD-src-4c87ca2cdcbc5b75ee372b4be70e63d77315bb2e.zip
FreeBSD-src-4c87ca2cdcbc5b75ee372b4be70e63d77315bb2e.tar.gz
alphabetically sort optional flags and add documentation for VM_ALLOC_NODUMP
Diffstat (limited to 'share')
-rw-r--r--share/man/man9/vm_page_alloc.927
1 files changed, 15 insertions, 12 deletions
diff --git a/share/man/man9/vm_page_alloc.9 b/share/man/man9/vm_page_alloc.9
index 4497e48..e9c0023 100644
--- a/share/man/man9/vm_page_alloc.9
+++ b/share/man/man9/vm_page_alloc.9
@@ -90,23 +90,18 @@ than zero.
.Pp
The optional flags are:
.Bl -tag -width ".Dv VM_ALLOC_IFNOTCACHED"
-.It Dv VM_ALLOC_ZERO
-Indicate a preference for a pre-zeroed page.
-There is no guarantee that the returned page will be zeroed, but it
-will have the
-.Dv PG_ZERO
-flag set if it is zeroed.
+.It Dv VM_ALLOC_NOBUSY
+The returned page will not have the
+.Dv VPO_BUSY
+flag set.
+.It Dv VM_ALLOC_NODUMP
+The returned page will not be included in any kernel core dumps
+regardless of whether or not it is mapped in to KVA.
.It Dv VM_ALLOC_NOOBJ
Do not associate the allocated page with a vm object.
The
.Fa object
argument is ignored.
-.It Dv VM_ALLOC_NOBUSY
-The returned page will not have the
-.Dv VPO_BUSY
-flag set.
-.It Dv VM_ALLOC_WIRED
-The returned page will be wired.
.It Dv VM_ALLOC_IFCACHED
Allocate the page only if it is cached.
Otherwise, return
@@ -117,6 +112,14 @@ Only allocate the page if it is not cached in the
If the page at the specified
.Fa pindex
is cached, NULL is returned instead.
+.It Dv VM_ALLOC_WIRED
+The returned page will be wired.
+.It Dv VM_ALLOC_ZERO
+Indicate a preference for a pre-zeroed page.
+There is no guarantee that the returned page will be zeroed, but it
+will have the
+.Dv PG_ZERO
+flag set if it is zeroed.
.El
.El
.Sh RETURN VALUES
OpenPOWER on IntegriCloud