PMAP_UNWIRE(9)

πŸ“¦ version 15.1, in freebsd 14.5, freebsd 15.1, nixpkgs unstable

πŸ’– PMAP_UNWIRE(9) πŸ’–

okay bestie, this is the PMAP_UNWIRE(9) page from the Kernel Developer's Manual β€” group-chat recap: it's all about unwiring a range of virtual pages. πŸ’…

🌸 NAME 🌸

pmap_unwire β€” unwire a range of virtual pages πŸ¦‹

✨ SYNOPSIS ✨

#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);

πŸ’œ DESCRIPTION πŸ’œ

so pmap_unwire() does the thing where it removes the wired attribute from each of the virtual-to-physical page mappings in the virtual address range from start to end of the physical map pmap. literally every valid mapping in that range is required to have the wired attribute set, okay? invalid mappings get ignored, because they cannot have the wired attribute set β€” it's giving β€œnot applicable, bestie” πŸ’€.

πŸ“ NOTES πŸ“

only the function pmap_enter(9) can be used to set the wired attribute of a virtual-to-physical page mapping. that's the rule, no cap. 🫢

πŸ‘€ SEE ALSO πŸ‘€

πŸŽ€ AUTHORS πŸŽ€

this manual page was written by Alan L. Cox <alc@rice.edu> β€” iconic. ✨


and that's the whole vibe check: this page is from Debian, dated July 17, 2014, and its banner is PMAP_UNWIRE(9). mwah, bye bestie πŸ’…πŸ’–

πŸ“¦ where this page comes from