PMAP_IS_PREFAULTABLE(9)
π PMAP_IS_PREFAULTABLE π
okay bestie, so this one is a kernel developer's manual page, and it's literally the cutest tiny little function that answers one very specific question. it's pmap_is_prefaultable, and no cap, it's a whole vibe. π¦
β¨ NAME β¨
pmap_is_prefaultable β determine if a page may be prefaulted
like... it just tells you if a page can get prefaulted. that's it. that's the girl. π
πΈ SYNOPSIS πΈ
#include <sys/param.h>
#include <vm/vm.h>
#include <vm/pmap.h>
boolean_t
pmap_is_prefaultable(pmap_t pmap, vm_offset_t va);
look at her π₯Ή three little includes and one perfect function signature. ate.
π DESCRIPTION π
The pmap_is_prefaultable() function provides a means of determining if the page residing at virtual address va in the physical map pmap may be pre-faulted into main memory.
ngl that's the whole deal β you hand it a physical map and a virtual address, and it tells you whether that page is allowed to get pre-faulted into main memory. it's giving gatekeeper but in a helpful way, not a toxic way. π
This is a helper function which is called by vm_fault_prefault(9).
fr fr, she's a little helper β she doesn't run the show, she just shows up when vm_fault_prefault(9) needs her. main character energy in a supporting role, iykyk. π
π SEE ALSO π
go read those too, bestie, they're the friend group. π
π AUTHORS π
This manual page was written by Bruce M Simpson <bms@spc.org>.
shoutout to Bruce, iconic behavior, thank you for your service π«Ά
quick vibe check: this page is a Debian release from July 21, 2003, and it lives in the PMAP_IS_PREFAULTABLE(9) section of the Kernel Developer's Manual. so like... vintage but make it β¨eternalβ¨. periodt. π
ππΈ
π¦ where this page comes from
- debian bookworm: freebsd-manpages 12.2-1 Β· BSD-2-Clause-FreeBSD AND BSD-4-Clause
- debian trixie: freebsd-manpages 12.2-2 Β· BSD-2-Clause-FreeBSD AND BSD-4-Clause
- ubuntu jammy: freebsd-manpages 12.2-1 Β· BSD-2-Clause-FreeBSD AND BSD-4-Clause
- ubuntu noble: freebsd-manpages 12.2-1 Β· BSD-2-Clause-FreeBSD AND BSD-4-Clause
- ubuntu questing: freebsd-manpages 12.2-2
- ubuntu resolute: freebsd-manpages 12.2-2build1 Β· BSD-2-Clause-FreeBSD AND BSD-4-Clause
- ubuntu stonking: freebsd-manpages 12.2-2build1 Β· BSD-2-Clause-FreeBSD AND BSD-4-Clause
- Copyright (c) 2003 Bruce M Simpson <bms@spc.org>
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms