Main index | Section 9 | Options |
#include <sys/param.h>
#include <vm/vm.h>
#include <vm/vm_page.h>
If the page's object is of type OBJT_VNODE and it is the last page associated with the object, the underlying vnode may be freed.
The vm_page_free() and vm_page_free_zero() functions both call vm_page_free_toq() to actually free the page, but vm_page_free_zero() sets the PG_ZERO flag and vm_page_free() clears the PG_ZERO flag prior to the call to vm_page_free_toq().
The vm_page_try_to_free() function verifies that the page is not held, wired, busy or dirty, and if so, marks the page as busy, drops any protection that may be set on the page, and frees it.
VM_PAGE_FREE (9) | July 24, 2001 |
Main index | Section 9 | Options |
Please direct any comments about this manual page service to Ben Bullock. Privacy policy.
“ | The āNā in NFS stands for Not, or Need, or perhaps Nightmare | ” |
— Harry Spencer |