cant_sleep(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’€ cant_sleep(9) β€” a Kernel API Manual moment πŸ’€

okay bestie, this is the manual page for cant_sleep(9) from the Kernel API Manual, and it is lowkey iconic. It’s an annotation for functions that cannot sleep β€” yes, the name is literally the whole vibe. 🫢


🌸 NAME 🌸

cant_sleep β€” annotation for functions that cannot sleep. No cap, that’s the entire package: it tags functions that cannot sleep. 😴🚫


✨ SYNOPSIS ✨

the whole synopsis is literally just:

cant_sleep

πŸ’– DESCRIPTION πŸ’–

okay so picture this: this macro will print a stack trace if it is executed with preemption enabled. That’s it. That’s the whole behavior. It’s giving β€œsnitch on the stack” energy 😭πŸ”₯.


πŸ‘€ SEE ALSO πŸ‘€

go check these besties:


πŸ’… this has been cant_sleep(9) from source/version ./include/linux, dated October 2026 β€” mwah, stay iconic bestie πŸ’–βœ¨

πŸ“¦ where this page comes from