summaryrefslogtreecommitdiffstats
path: root/share/man/man9/vm_page_free.9
diff options
context:
space:
mode:
authorru <ru@FreeBSD.org>2001-08-08 10:04:08 +0000
committerru <ru@FreeBSD.org>2001-08-08 10:04:08 +0000
commitb055ad70111a7bc662ca4573afb0416aa474a7a1 (patch)
tree59d3abd7b54cffb6d6152e0e0cc1d96952cbe9d3 /share/man/man9/vm_page_free.9
parentf0012465c8abe6fd00d73fc8b5592f980744139b (diff)
downloadFreeBSD-src-b055ad70111a7bc662ca4573afb0416aa474a7a1.zip
FreeBSD-src-b055ad70111a7bc662ca4573afb0416aa474a7a1.tar.gz
mdoc(7) police: markup, grammar, and spelling nits.
Diffstat (limited to 'share/man/man9/vm_page_free.9')
-rw-r--r--share/man/man9/vm_page_free.918
1 files changed, 9 insertions, 9 deletions
diff --git a/share/man/man9/vm_page_free.9 b/share/man/man9/vm_page_free.9
index a717726..a78e577 100644
--- a/share/man/man9/vm_page_free.9
+++ b/share/man/man9/vm_page_free.9
@@ -30,9 +30,9 @@
.Dt VM_PAGE_FREE 9
.Os
.Sh NAME
-.Nm vm_page_free
-.Nm vm_page_free_toq
-.Nm vm_page_free_zero
+.Nm vm_page_free ,
+.Nm vm_page_free_toq ,
+.Nm vm_page_free_zero ,
.Nm vm_page_try_to_free
.Nd "free a page"
.Sh SYNOPSIS
@@ -53,15 +53,15 @@ The
function moves a page into the free queue, and disassociates it from
its object.
If the page is held, wired, already free, or its busy count is not
-zero the system will panic.
+zero, the system will panic.
If the
.Dv PG_ZERO
-flag is set on the page is it placed at the end of the free queue;
+flag is set on the page, it is placed at the end of the free queue;
otherwise, it is placed at the front.
.Pp
If the page's object is of type
.Dv OBJT_VNODE
-and it is the last page associated with the object the underlying
+and it is the last page associated with the object, the underlying
vnode may be freed.
.Pp
The
@@ -70,8 +70,8 @@ and
.Fn vm_page_free_zero
functions both call
.Fn vm_page_free_toq
-to actually free page, but
-.Fn vm_page_free_zero
+to actually free the page, but
+.Fn vm_page_free_zero
sets the
.Dv PG_ZERO
flag and
@@ -84,7 +84,7 @@ flag prior to the call to
The
.Fn vm_page_try_to_free
function verifies that the page is not held, wired, busy or dirty, and
-if so marks the page as busy, drops any protection that may be set on
+if so, marks the page as busy, drops any protection that may be set on
the page, and frees it.
.Sh RETURN VALUES
.Fn vm_page_try_to_free
OpenPOWER on IntegriCloud