vm_page_sleep_busy.9freebsd

Langue: en

Version: 306817 (debian - 07/07/09)

Section: 9 (Appels noyau Linux)


BSD mandoc

NAME

vm_page_sleep_busy - wait for a busy page to become unbusy

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

DESCRIPTION

The Fn vm_page_sleep_busy function waits until the PG_BUSY flag is cleared. If Fa also_m_busy is non-zero, it also waits for Fa m->busy to become zero.

RETURN VALUES

If Fn vm_page_sleep_busy finds the page busy it returns TRUE If not, it returns FALSE Returning TRUE does not necessary mean that Fn vm_page_sleep_busy slept, but only that Fn splvm was called.

AUTHORS

This manual page was written by An Chad David Aq davidc@acns.ab.ca .