summaryrefslogtreecommitdiffstats
path: root/share
diff options
context:
space:
mode:
authoravg <avg@FreeBSD.org>2010-10-20 05:17:23 +0000
committeravg <avg@FreeBSD.org>2010-10-20 05:17:23 +0000
commit9f9aed22bf7db59a503c3754e3e2165f8be3a4a3 (patch)
tree1c0a053e5778058d353ae9a831d1eb3c1a948201 /share
parent7f5bf568d4b5e725b63e47142fef547cbffb9eac (diff)
downloadFreeBSD-src-9f9aed22bf7db59a503c3754e3e2165f8be3a4a3.zip
FreeBSD-src-9f9aed22bf7db59a503c3754e3e2165f8be3a4a3.tar.gz
PG_BUSY -> VPO_BUSY, PG_WANTED -> VPO_WANTED in manual pages and comments
Reviewed by: alc MFC after: 4 days
Diffstat (limited to 'share')
-rw-r--r--share/man/man9/vm_page_io.94
-rw-r--r--share/man/man9/vm_page_sleep_busy.92
-rw-r--r--share/man/man9/vm_page_wakeup.98
3 files changed, 7 insertions, 7 deletions
diff --git a/share/man/man9/vm_page_io.9 b/share/man/man9/vm_page_io.9
index 396cb19..bddb82b 100644
--- a/share/man/man9/vm_page_io.9
+++ b/share/man/man9/vm_page_io.9
@@ -52,9 +52,9 @@ function lowers the busy count on the page by one, if the resulting busy
count is zero, a
.Xr wakeup 9
will be issued if the page has been marked
-.Dv PG_WANTED .
+.Dv VPO_WANTED .
A page is typically marked
-.Dv PG_WANTED
+.Dv VPO_WANTED
by a thread to register its interest in
the page to either complete I/O or becoming available for general use.
.Sh AUTHORS
diff --git a/share/man/man9/vm_page_sleep_busy.9 b/share/man/man9/vm_page_sleep_busy.9
index 45aa977..6ccdf68 100644
--- a/share/man/man9/vm_page_sleep_busy.9
+++ b/share/man/man9/vm_page_sleep_busy.9
@@ -42,7 +42,7 @@
The
.Fn vm_page_sleep_busy
function waits until the
-.Dv PG_BUSY
+.Dv VPO_BUSY
flag is cleared.
If
.Fa also_m_busy
diff --git a/share/man/man9/vm_page_wakeup.9 b/share/man/man9/vm_page_wakeup.9
index adb03a1..75f0ca8 100644
--- a/share/man/man9/vm_page_wakeup.9
+++ b/share/man/man9/vm_page_wakeup.9
@@ -50,20 +50,20 @@ of a page.
.Pp
.Fn vm_page_busy
sets the
-.Dv PG_BUSY
+.Dv VPO_BUSY
flag in the page.
.Pp
.Fn vm_page_flash
checks to see if there is anybody waiting on the page
-.Dv ( PG_WANTED
+.Dv ( VPO_WANTED
will be set), and if so, clears the
-.Dv PG_WANTED
+.Dv VPO_WANTED
flag and notifies whoever is waiting via
.Fn wakeup .
.Pp
.Fn vm_page_wakeup
clears the
-.Dv PG_BUSY
+.Dv VPO_BUSY
flag on the page, and calls
.Fn vm_page_flash
in case somebody has been waiting for it.
OpenPOWER on IntegriCloud