kexec_locate_mem_hole(9)
π NAME π
okay so bestie, this is the kexec_locate_mem_hole(9) page from the Kernel API Manual β¨ and it's literally here to find free memory for the purgatory or the next kernel. No cap, that's the whole vibe π«Ά
πΈ SYNOPSIS πΈ
int kexec_locate_mem_hole (struct kexec_buf *kbuf );
π ARGUMENTS π
kbufβ the parameters for the memory search. That's the arg, and she's doing her thing π
π¦ DESCRIPTION π¦
On success, kbuf->mem will have the start address of the memory region found. Iconic behavior, honestly. Obsessed β¨
β RETURN β
0 on success, negative errno on error. Periodt π
π SEE ALSO π
- Kernel file
./kernel/kexec_file.c kexec_walk_resources(9)kexec_add_buffer(9)
source/version + date check, bestie: ./kernel Β· October 2026 β mwah, go off and locate those memory holes ππ
π¦ where this page comes from
- nixpkgs unstable: linux-manual 7.3.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms