pmap_unwire(9)

pmap_unwire9

Unwire a range of virtual pages

Usage

#include <sys/param.h>

#include <vm/vm.h>

#include <vm/pmap.h>

void

pmap_unwire(pmap_t pmap, vm_offset_t start, vm_offset_t end);

Overview

The function pmap_unwire() removes the wired attribute from each of the virtual-to-physical page mappings within the virtual address range from start to end of the physical map pmap. Every valid mapping within that range is required to have the wired attribute set. Invalid mappings are ignored, since they cannot have the wired attribute set.

Notes

Only the function pmap_enter(9) can be used to set the wired attribute of a virtual-to-physical page mapping.

Releases

29 releases since FreeBSD 10.1-RELEASE; the text changed 16 times.

  1. 10.1
  2. 10.2
  3. 10.3
  4. 10.4
  5. 11.0
  6. 11.1
  7. 11.2
  8. 11.3
  9. 11.4
  10. 12.0
  11. 12.1
  12. 12.2
  13. 12.3
  14. 12.4
  15. 13.0–13.2
  16. 13.3–15.1
  17. 16.0

Authors

This manual page was written by Alan L. Cox ⟨[email protected]⟩.

From base 16.0-CURRENT-20261027-61c70dc16a79 in FreeBSD 16.0-CURRENT (2026-10-27). Parsed by carta from the page's mdoc source.