vm_page_io_start(9) ready or unready a page for I/O

Other Alias

vm_page_io_finish

SYNOPSIS

In sys/param.h In vm/vm.h In vm/vm_page.h Ft void Fn vm_page_io_start vm_page_t m Ft void Fn vm_page_io_finish vm_page_t m

DESCRIPTION

The Fn vm_page_io_start function prepares the page for I/O by incrementing its busy flag by one.

The Fn vm_page_io_finish function lowers the busy count on the page by one, if the resulting busy count is zero, a wakeup(9) will be issued if the page has been marked VPO_WANTED A page is typically marked VPO_WANTED by a thread to register its interest in the page to either complete I/O or becoming available for general use.

AUTHORS

An -nosplit This manual page was written by An Chad David Aq [email protected] and An Alfred Perlstein Aq [email protected] .