preempt_enable_nested(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

🌸 preempt_enable_nested(9) 🌸

okay so bestie, welcome to the Kernel API Manual β€” yes we're literally in the kernel docs rn, put your hair up, we're doing real work πŸ’…


✨ NAME ✨

preempt_enable_nested β€” the function that undoes the effect of preempt_disable_nested(). it's giving "you took it off the shelf, now put it back" πŸŽ€


πŸ¦‹ SYNOPSIS πŸ¦‹

void preempt_enable_nested (void );

no cap, that's the whole signature. tiny but iconic πŸ‘‘


πŸ’– ARGUMENTS πŸ’–

  • void β€” literally no arguments. zero. nada. she takes nothing and she gives nothing back (well, she returns void too, but you get the vibe) πŸ™ˆ

🌈 SEE ALSO 🌈

  • the kernel file ./include/linux/preempt.h β€” that's where she lives, that's her home 🏠
  • interrupt_context_level(9) β€” the related read, go check it out 🧚
  • preempt_disable_nested(9) β€” her other half, the one who does the thing she un-does. they're a matched set fr fr πŸ’œ

lowkey a reminder bestie: this is the undo button. if you didn't call preempt_disable_nested() first, maybe have a little think before you go slapping this down. the panic isn't a personality trait 😭

that's the whole page, she's short and she ate πŸ’…βœ¨

signing off from the ./include/linux directory, dated October 2026 β€” see you in the next one, bestie πŸ«ΆπŸ’–

πŸ“¦ where this page comes from