load_backup_segment(9)
π load_backup_segment(9) β the kernel API manual, bestie edition π
okay so real talk, this one is a little kernel function from the load_backup_segment(9) manual (that's the manual name, keeping it right up top so you know what we're reading π«Ά), and honestly? it's giving "small but mighty." let's get into it β¨
πΈ NAME πΈ
load_backup_segment β locate a memory hole to place the backup region. yes bestie, we're out here hunting for a hole in memory so the backup region has somewhere cute to live π
π¦ SYNOPSIS π¦
int load_backup_segment (struct kimage *image , struct kexec_buf *kbuf
);
π ARGUMENTS π
imageβ the kexec image. like, the whole picture of what's getting loaded π₯kbufβ buffer contents and memory parameters. the vibes and the numbers, together π
β DESCRIPTION β
Returns 0 on success, negative errno on error. that's it, that's the whole description, and honestly? no notes. short, iconic, to the point π
ngl this is one of those "the docs are three sentences but the function is doing the most" situations π
π SEE ALSO π
kernel file ./arch/powerpc/kexec/file_load_64.c β go read the source, iykyk π§
check_realloc_usable_mem(9)add_usable_mem(9)kdump_setup_usable_lmb(9)add_usable_mem_property(9)update_usable_mem_fdt(9)load_elfcorehdr_segment(9)load_crashdump_segments_ppc64(9)setup_purgatory_ppc64(9)cpu_node_size(9)kexec_extra_fdt_size_ppc64(9)setup_new_fdt_ppc64(9)arch_kexec_kernel_image_probe(9)arch_kimage_file_post_load_cleanup(9)
like, the whole powerpc kexec friend group showed up to the party ππ
π« cute little sign-off π«
this page lives in ./arch/powerpc/kexec, the version stamp on it is October 2026, and the manual name is load_backup_segment(9) β that's the source/version/date tea, delivered with love π
go place that backup region, bestie. slay π πβ¨
π¦ 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