get_exclude_memory_ranges(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

✨ get_exclude_memory_ranges(9) ✨

okay so bestie, welcome to the Kernel API Manual β€” this is the page for get_exclude_memory_ranges, and honestly? it's giving "the VIP bouncer of memory ranges" πŸ’…


πŸŽ€ NAME πŸŽ€

get_exclude_memory_ranges β€” grab the list of exclude memory ranges. no cap, this list is the do not touch section: it includes regions like opal/rtas, tce-table, initrd, kernel, and htab, all of which should be avoided while you're setting up kexec load segments. like, hands off, these are NOT for you 🫢


🌸 SYNOPSIS 🌸

int get_exclude_memory_ranges (struct crash_mem **mem_ranges );

πŸ¦‹ ARGUMENTS πŸ¦‹

  • mem_ranges β€” the range list you're adding the memory ranges to. that's the destination, bestie, it's where everything gets dropped off πŸ“¦

⭐ DESCRIPTION ⭐

here's the whole vibe check: it returns 0 on success, and a negative errno on error. that's it, that's the tea β˜• periodt.


πŸ‘‘ SEE ALSO πŸ‘‘

bestie this is the whole friend group, iykyk 🫢

Kernel file ./arch/powerpc/kexec/ranges.c β€” plus these iconic functions:


🌈 and that's a wrap, angel! this lil slice of the manual lives down in ./arch/powerpc/kexec, and it's dated October 2026. go forth and exclude those ranges responsibly πŸ’œπŸŽ€βœ¨

πŸ“¦ where this page comes from