arch_crash_...otplug_event(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– arch_crash_...otplug_event(9) πŸ’–

okay bestie, welcome to the Kernel API Manual β€” this page is short, sweet, and honestly kind of iconic. no cap, it's giving "tiny function, big hotplug energy." ✨


✨ NAME ✨

arch_crash_handle_hotplug_event β€” Handle hotplug elfcorehdr changes 🫢


πŸ¦‹ SYNOPSIS πŸ¦‹

void arch_crash_handle_hotplug_event (struct kimage *image , void *arg
);

it returns void, so like… no return value to stan, just vibes πŸ’…


πŸŽ€ ARGUMENTS πŸŽ€

  • image β€” a pointer to kexec_crash_image. that's the main character right there πŸ‘‘
  • arg β€” a struct memory_notify handler for the memory hotplug case, and NULL for the CPU hotplug case. so bestie, it's either a whole notify struct or literally NULL, no in-between 😭

πŸ’… DESCRIPTION πŸ’…

Prepare the new elfcorehdr and replace the existing elfcorehdr. that's it, that's the whole assignment β€” prep the new one, swap out the old one, periodt πŸ”₯

ngl this is the entire description, so don't go looking for extra lore. it's short, it's clear, it ate. πŸ’€

🌈 SEE ALSO 🌈

  • Kernel file ./arch/x86/kernel/crash.c β€” go read the source if you want the full backstage pass 🎟️✨

mwah πŸ’‹ β€” this cutie came from ./arch/x86/kernel, dated October 2026, and it lives on the arch_crash_...otplug_event(9) page. slay, bye bestie πŸ¦‹πŸ’œ

πŸ“¦ where this page comes from