printk_cpu_s...t_irqrestore(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

🌸 printk_cpu_s...t_irqrestore(9) β€” from the Kernel API Manual, bestie πŸ’…

okay so real talk, this page is from the Kernel API Manual and the function name lowkey got squished in the header (printk_cpu_s...t_irqrestore(9) β€” the ellipsis is doing main character energy, we don't question it), but the actual star of the show is printk_cpu_sync_put_irqrestore. Let's get into it ✨

πŸ’– NAME πŸ’–

printk_cpu_sync_put_irqrestore β€” releases the printk cpu-reentrant spinning lock and restores interrupts. that's it, that's the whole job, and she ate πŸ”₯

πŸŽ€ SYNOPSIS πŸŽ€

printk_cpu_sync_put_irqrestore (flags );

literally one argument, she's low maintenance, we love that for her 🫢

πŸ¦‹ ARGUMENTS πŸ¦‹

  • flags β€” the caller's saved interrupt state, the one you got from printk_cpu_sync_get_irqsave. so like, you saved it, now you're giving it right back. hand it over. yep. that's the vibe πŸ’«

🌈 SEE ALSO 🌈

kernel file ./include/linux/printk.h β€” and the whole friend group, no cap:

go follow all of them, they're iconic πŸ‘‘


and that's the whole page bestie, no notes ✨ this one lives in ./include/linux and it's serving October 2026 energy, filed under printk_cpu_s...t_irqrestore(9) like the legend she is πŸŽ€πŸ’œ byeee πŸ¦‹

πŸ“¦ where this page comes from