printk_cpu_s...t_irqrestore(9)
πΈ 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 fromprintk_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:
printk_cpu_sync_get_irqsave(9)pr_fmt(9)printk(9)pr_emerg(9)pr_alert(9)pr_crit(9)pr_err(9)pr_warn(9)pr_notice(9)pr_info(9)pr_cont(9)pr_devel(9)pr_debug(9)print_hex_dump_bytes(9)
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
- 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