vm_page_wire (9)
Leading comments
Copyright (C) 2001 Chad David <davidc@acns.ab.ca>. All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: 1. Redistributions of source code must retain the above copyright notice(s), this list of conditions and the following disclaimer as the first lines of this file unmodified other than the possible addition of one or more copyright notices. 2. Redistributions in binary for...
NAME
vm_page_wire vm_page_unwire - wire and unwire pagesSYNOPSIS
In sys/param.h In vm/vm.h In vm/vm_page.h Ft void Fn vm_page_wire vm_page_t m Ft void Fn vm_page_unwire vm_page_t m int activateDESCRIPTION
The Fn vm_page_wire function increments the wire count on a page, and removes it from whatever queue it is on.The Fn vm_page_unwire function releases one of the wirings on the page. When write_count reaches zero the page is placed back onto either the active queue (if Fa activate is non-zero) or onto the inactive queue (if Fa activate is zero). If the page is unmanaged ( PG_UNMANAGED is set) then the page is left on PQ_NONE