VM_MAP_REMOVE(9)
πΈ NAME πΈ
okay so bestie, welcome to the vm_map_remove(9) page from the Kernel Developer's Manual π
this one is short and highkey iconic.
vm_map_remove β remove a virtual address range from a map. periodt.
β¨ SYNOPSIS β¨
here's the exact spellbook, no cap πͺ:
#include <sys/param.h>
#include <vm/vm.h>
#include <vm/vm_map.h>
int
vm_map_remove(vm_map_t map, vm_offset_t start, vm_offset_t end);
π DESCRIPTION π
so vm_map_remove() removes the given address range bounded by start and end from the target map. that's the whole vibe: start, end, gone from the map β¨.
π IMPLEMENTATION NOTES π
quick lore drop π: this is the exported form of vm_map_delete(9), which may be called by consumers of the VM subsystem.
also, the function calls vm_map_lock(9) to hold a lock on map for the duration of the function call. lock it in, bestie π.
π¦ RETURN VALUES π¦
vm_map_remove() always returns KERN_SUCCESS. every single time. no cap, that's the whole return value story πβ¨.
π SEE ALSO π
go read these next, bestie:
π AUTHORS π
this manual page was written by Bruce M Simpson <bms@spc.org> π«Ά.
xoxo, this page's source/version is Debian, dated July 19, 2003 π
π¦ where this page comes from
- freebsd 14.5: base 14.5
- freebsd 15.1: base 15.1
- nixpkgs unstable: source
- Copyright (c) 2003 Bruce M Simpson <bms@spc.org>
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms