UVM_FAULT(9)
π¦ UVM_FAULT π¦
ok so real talk bestie, this is uvm_fault(9) from the Kernel Developer's Manual β page fault handling, and yes it's exactly as iconic as it sounds π
β¨ NAME β¨
uvm_fault β page fault handling π«Ά
πΈ SYNOPSIS πΈ
#include <sys/param.h>
#include <uvm/uvm.h>
int
uvm_fault(vm_map_t orig_map, vaddr_t vaddr, vm_fault_t fault_type,
vm_prot_t access_type);
π DESCRIPTION π
okay so uvm_fault() is the main entry point for faults β like, the literal main character of page faulting, no cap π
It takes these besties as arguments:
orig_mapβ the map the fault originated in π«vaddrβ avaddroffset into the map where the fault occurred πfault_typeβ describes the type of fault that happened πaccess_typeβ describes the type of access that was requested π₯
And when it's done doing its thing? uvm_fault() returns a standard errno. periodt π
π SEE ALSO π
pmap(9)β
and that's the whole vibe bestie, go forth and handle those faults π
this lil gem is from the Debian edition, dated December 5, 2019, and it lives at UVM_FAULT(9) β mwah, love that for us πβ¨
π¦ where this page comes from
- nixpkgs unstable: cvs-export
- Copyright (c) 1998 Matthew R. Green
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms