hw_failure_e..._action_func(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– hw_failure_emergency_action_func(9) πŸ’–

okay bestie, welcome to the Kernel API Manual page for hw_failure_emergency_action_func(9) β€” this is the emergency-action work situation, and it is lowkey iconic in a β€œdo not panic but also the kernel might need to force a poweroff or reboot” way. πŸš¨πŸ’…

🌸 NAME 🌸

hw_failure_emergency_action_func β€” emergency action work after a known delay. That’s the vibe: emergency action work, known delay, no surprises. ✨

✨ SYNOPSIS ✨

Here’s the signature exactly, character-for-character, because we do not freestyle code:

void hw_failure_emergency_action_func (struct work_struct *work );

πŸŽ€ ARGUMENTS πŸŽ€

  • work β€” the work_struct associated with the emergency action function. This is the one argument, bestie; it’s literally the work struct tied to the emergency action function. πŸ› οΈ

🚨 DESCRIPTION 🚨

okay so this function gets called in very critical situations β€” the kind where it needs to force a kernel poweroff or reboot after a configurable timeout value. That’s the whole emergency-action-work-after-a-known-delay vibe: critical situation, forced poweroff or reboot, configurable timeout. It’s giving last-resort main character energy, and ngl it is not a drill. πŸ’…πŸ”₯

πŸ¦‹ SEE ALSO πŸ¦‹

Kernel file ./kernel/reboot.c is the home base, and here’s the entire reboot/poweroff squad β€” every single ref, no skips, fr fr:


and that’s the page, bestie 🫢 source/version: ./kernel; date: October 2026; footer tag: hw_failure_e..._action_func(9). mwah πŸ’‹βœ¨

πŸ“¦ where this page comes from