GNU.WIKI: The GNU/Linux Knowledge Base

  [HOME] [PHP Manual] [HowTo] [ABS] [MAN1] [MAN2] [MAN3] [MAN4] [MAN5] [MAN6] [MAN7] [MAN8] [MAN9]

  [0-9] [Aa] [Bb] [Cc] [Dd] [Ee] [Ff] [Gg] [Hh] [Ii] [Jj] [Kk] [Ll] [Mm] [Nn] [Oo] [Pp] [Qq] [Rr] [Ss] [Tt] [Uu] [Vv] [Ww] [Xx] [Yy] [Zz]


     vm_page_wire, vm_page_unwire — wire and unwire pages


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

     vm_page_wire(vm_page_t m);

     vm_page_unwire(vm_page_t m, int activate);


     The vm_page_wire() function increments the wire count on a page, and
     removes it from whatever queue it is on.

     The 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 activate is non-zero) or onto the inactive queue (if
     activate is zero).  If the page is unmanaged (PG_UNMANAGED is set) then
     the page is left on PQ_NONE.


     This manual page was written by Chad David ⟨⟩.

  All copyrights belong to their respective owners. Other content (c) 2014-2018, GNU.WIKI. Please report site errors to
Page load time: 0.110 seconds. Last modified: November 04 2018 12:49:43.