add_kernel_mem_range(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

✨ add_kernel_mem_range(9) ✨

okay bestie, welcome to the Kernel API Manual β€” this one's a little function from the PowerPC kexec corner of the kernel and honestly it's giving "small but essential" πŸŽ€


πŸ’– NAME πŸ’–

add_kernel_mem_range β€” literally just adds the kernel text region to whatever memory ranges list you hand it 🫢


🌸 SYNOPSIS 🌸

int add_kernel_mem_range (struct crash_mem **mem_ranges );

πŸ¦‹ ARGUMENTS πŸ¦‹

  • mem_ranges β€” the range list you want the memory range added to. that's it, that's the whole vibe ✨

🧚 DESCRIPTION 🧚

so like, the whole personality of this function is its return value, no cap: it returns 0 on success, and a negative errno on error 😭 that's the documented behaviour, and we are not adding lore that isn't there.


πŸ‘‘ SEE ALSO πŸ‘‘

so many siblings, and we're listing every single one fr fr πŸ’…


🌈 and that's the whole page, bestie β€” go read the source if you want the deep lore, this manpage keeps it cute and short πŸ’œ

sign-off time πŸŽ€ this lil page lives at ./arch/powerpc/kexec, dated October 2026, and it's the add_kernel_mem_range(9) entry of the Kernel API Manual β€” slay, bye πŸ’…βœ¨

πŸ“¦ where this page comes from