catch up manual pages with rename of vm_page_sleep_busy to vm_page_sleep_if_busy

Suggested by:	alc
MFC after:	4 days
This commit is contained in:
Andriy Gapon 2010-10-20 06:29:11 +00:00
parent c3fdd2de24
commit 7f0ab7f026
4 changed files with 10 additions and 8 deletions

View File

@ -14,6 +14,8 @@
# The file is partitioned: OLD_FILES first, then OLD_LIBS and OLD_DIRS last.
#
# 20101020: catch up with vm_page_sleep_if_busy rename
OLD_FILES+=usr/share/man/man9/vm_page_sleep_busy.9.gz
# 20101011: removed subblock.h from liblzma
OLD_FILES+=usr/include/lzma/subblock.h
# 20101002: removed manpath.config

View File

@ -324,7 +324,7 @@ MAN= accept_filter.9 \
vm_page_lookup.9 \
vm_page_protect.9 \
vm_page_rename.9 \
vm_page_sleep_busy.9 \
vm_page_sleep_if_busy.9 \
vm_page_wakeup.9 \
vm_page_wire.9 \
vm_page_zero_fill.9 \

View File

@ -27,20 +27,20 @@
.\" $FreeBSD$
.\"
.Dd July 13, 2001
.Dt VM_PAGE_SLEEP_BUSY 9
.Dt VM_PAGE_SLEEP_IF_BUSY 9
.Os
.Sh NAME
.Nm vm_page_sleep_busy
.Nm vm_page_sleep_if_busy
.Nd "wait for a busy page to become unbusy"
.Sh SYNOPSIS
.In sys/param.h
.In vm/vm.h
.In vm/vm_page.h
.Ft int
.Fn vm_page_sleep_busy "vm_page_t m" "int also_m_busy" "const char *wmesg"
.Fn vm_page_sleep_if_busy "vm_page_t m" "int also_m_busy" "const char *wmesg"
.Sh DESCRIPTION
The
.Fn vm_page_sleep_busy
.Fn vm_page_sleep_if_busy
function waits until the
.Dv VPO_BUSY
flag is cleared.
@ -51,7 +51,7 @@ is non-zero, it also waits for
to become zero.
.Sh RETURN VALUES
If
.Fn vm_page_sleep_busy
.Fn vm_page_sleep_if_busy
finds the page busy it returns
.Dv TRUE .
If not, it returns
@ -59,7 +59,7 @@ If not, it returns
Returning
.Dv TRUE
does not necessary mean that
.Fn vm_page_sleep_busy
.Fn vm_page_sleep_if_busy
slept, but only that
.Fn splvm
was called.

View File

@ -68,7 +68,7 @@ flag on the page, and calls
.Fn vm_page_flash
in case somebody has been waiting for it.
.Sh SEE ALSO
.Xr vm_page_sleep_busy 9 ,
.Xr vm_page_sleep_if_busy 9 ,
.Xr wakeup 9
.Sh AUTHORS
This manual page was written by