GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages


Manual Reference Pages  -  VM_PAGE_HOLD (9)

NAME

vm_page_hold, vm_page_unhold - update a page’s hold count

CONTENTS

Synopsis
Description
See Also
Authors

SYNOPSIS


.In sys/param.h
.In vm/vm.h
.In vm/vm_page.h void vm_page_hold vm_page_t m void vm_page_unhold vm_page_t m

DESCRIPTION

The vm_page_hold function increases the hold count on a page. This prevents the page daemon from freeing the page.

vm_page_hold should only be used for very temporary wiring of a page, as that page will not be considered for paging or reallocation for as long as its hold count is greater than zero. Also note that while wired pages are removed from whatever queue they are on, vm_page_hold does not affect the location of the page. If it is on a queue prior to the call, it will still be there afterward.

If the page needs to be held for a long period of time, vm_page_wire(9) should be used.

vm_page_unhold function reduces the hold count on a page. If the hold count is zero it is possible that the page will be freed by the page daemon.

SEE ALSO

vm_page_unwire(9), vm_page_wire(9)

AUTHORS

This manual page was written by
.An Chad David Aq davidc@acns.ab.ca .
Search for    or go to Top of page |  Section 9 |  Main Index


Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with manServer 1.07.