Langue: en

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

Section: 9 (Appels noyau Linux)

BSD mandoc


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


In sys/param.h In vm/vm.h In vm/vm_page.h Ft void Fn vm_page_busy vm_page_t m Ft void Fn vm_page_flash vm_page_t m Ft void Fn vm_page_wakeup vm_page_t m


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

Fn vm_page_busy sets the PG_BUSY flag in the page.

Fn 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 Fn wakeup .

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


vm_page_sleep_busy9, wakeup(9)


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