*nix Documentation Project
·  Home
 +   man pages
·  Linux HOWTOs
·  FreeBSD Tips
·  *niX Forums

  man pages->FreeBSD man pages -> vm_page_wakeup (9)              
Title
Content
Arch
Section
 

VM_PAGE_BUSY(9)

Contents


NAME    [Toc]    [Back]

     vm_page_busy, vm_page_flash, vm_page_wakeup -- handle the busying and
     unbusying of a page

SYNOPSIS    [Toc]    [Back]

     #include <sys/param.h>
     #include <vm/vm.h>
     #include <vm/vm_page.h>

     void
     vm_page_busy(vm_page_t m);

     void
     vm_page_flash(vm_page_t m);

     void
     vm_page_wakeup(vm_page_t m);

DESCRIPTION    [Toc]    [Back]

     These functions handle the busying, unbusying and notification of the
     unbusying of a page.

     vm_page_busy() sets the PG_BUSY flag in the page.

     vm_page_flash() checks to see if there is anybody waiting on the page
     (PG_WANTED will be set), and if so, clears the PG_WANTED flag and notifies
 whoever is waiting via wakeup().

     vm_page_wakeup() clears the PG_BUSY flag on the page, and calls
     vm_page_flash() in case somebody has been waiting for it.

SEE ALSO    [Toc]    [Back]

      
      
     vm_page_sleep_busy(9), wakeup(9)

AUTHORS    [Toc]    [Back]

     This man page was written by Chad David <davidc@acns.ab.ca>.


FreeBSD 5.2.1			 July 14, 2001			 FreeBSD 5.2.1
[ Back ]
 Similar pages
Name OS Title
st_text_addr_to_sym Tru64 convert an address in an object to a file handle, procedure handle, line number, or symbol handle an...
st_addr_to_file Tru64 convert an address in an object to a file handle, procedure handle, line number, or symbol handle an...
st_data_addr_to_sym Tru64 convert an address in an object to a file handle, procedure handle, line number, or symbol handle an...
st_addr_to_sym Tru64 convert an address in an object to a file handle, procedure handle, line number, or symbol handle an...
st_addr_to_proc Tru64 convert an address in an object to a file handle, procedure handle, line number, or symbol handle an...
st_addr_to_line Tru64 convert an address in an object to a file handle, procedure handle, line number, or symbol handle an...
vm_page_free_toq FreeBSD free a page
pmap_zero_area FreeBSD zero-fill a page using
pmap_zero_idle FreeBSD zero-fill a page using
vm_page_zero_fill FreeBSD zero fill a page
Copyright © 2004-2005 DeniX Solutions SRL
newsletter delivery service