update_usable_mem_fdt(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… update_usable_mem_fdt(9) β€” the Kernel API Manual, bestie edition ✨

Okay so real quick, the page header up top says update_usable_mem_fdt(9) and it lives in the Kernel API Manual, that's the vibe, that's the whole thing.


🌸 NAME 🌸

update_usable_mem_fdt β€” this one updates the kdump kernel's fdt with the linux,usable-memory and linux,drconf-usable-memory DT properties, as appropriate, so it can restrict its memory usage. Like, it's giving "memory boundaries, but make it a device tree". πŸ‘‘


πŸ¦‹ SYNOPSIS πŸ¦‹

int update_usable_mem_fdt (void *fdt , struct crash_mem *usable_mem );

πŸŽ€ ARGUMENTS πŸŽ€

  • fdt β€” the flattened device tree for the kdump kernel. literally the DT, flattened, for kdump. 🫢
  • usable_mem β€” the usable memory ranges for the kdump kernel. the good memory. the usable girlies. πŸ’–

✨ DESCRIPTION ✨

Returns 0 on success, negative errno on error. That's it, that's the contract, no cap. βœ…


🌈 SEE ALSO 🌈


bestie this is the whole squad of related functions, go say hi to all of them πŸ’€πŸ«Ά

And that's a wrap! 🌟 This one came out of ./arch/powerpc/kexec and is dated October 2026 β€” update_usable_mem_fdt(9), signing off, slay, periodt. πŸ’œπŸ§šβ€β™€οΈ

πŸ“¦ where this page comes from