nbcon_cpu_emergency_enter(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… nbcon_cpu_emergency_enter β€” Kernel API Manual

okay so bestie, welcome to the manual page for nbcon_cpu_emergency_enter(9), live from the Kernel API Manual. this one is short and sweet and honestly kind of iconic for how much it does with so little πŸŽ€


✨ NAME ✨

nbcon_cpu_emergency_enter β€” enter an emergency section where printk() messages for that CPU are flushed directly 🚨

🌸 SYNOPSIS 🌸

void nbcon_cpu_emergency_enter (void );

πŸ¦‹ ARGUMENTS πŸ¦‹

  • void β€” no arguments, literally none, she takes nothing and gives everything πŸ’…

⭐ CONTEXT ⭐

Any context. Disables preemption β€” yes, any context, she's flexible like that, but she does turn preemption off while she's in there 🫢

πŸ”₯ DESCRIPTION πŸ”₯

So when you're within an emergency section, printk calls will attempt to flush any pending messages in the ringbuffer. that's the whole vibe: emergency mode on, messages get flushed straight away instead of chilling in the ringbuffer, periodt πŸ’–

ngl this is the emergency-est little function and the ringbuffer does not get to hold onto those messages anymore 😭

πŸ‘‘ SEE ALSO πŸ‘‘

Kernel file ./kernel/printk/nbcon.c, plus the whole friend group:


and that's the page, bestie 🧚 this diva came from ./kernel/printk and the version-date stamp says October 2026, signed off with her own name nbcon_cpu_emergency_enter(9) like the main character she is πŸ’œβœ¨

πŸ“¦ where this page comes from