|
NAMEvm_page_grab —
returns a page from an object
SYNOPSIS#include <sys/param.h>
#include <vm/vm.h>
#include <vm/vm_page.h>
vm_page_t
DESCRIPTIONThevm_page_grab () function returns the page at
pindex from the given object. If the page exists and is
busy, vm_page_grab () will sleep while waiting for it.
If the page does not exist, it is allocated. The function sleeps until the
allocation request can be satisfied.
The function requires the object to be
locked on entry, and returns with the object locked. If the
The
RETURN VALUESThevm_page_grab () always returns the page.
SEE ALSOvm_page_alloc(9)AUTHORSThis manual page was written by Chad David <davidc@acns.ab.ca>.
Visit the GSP FreeBSD Man Page Interface. |