kexec_locate_mem_hole(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– 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 🌈


source/version + date check, bestie: ./kernel Β· October 2026 β€” mwah, go off and locate those memory holes πŸ’‹πŸŽ€

πŸ“¦ where this page comes from