blocking_not...n_unregister(9)
π blocking_notifier_chain_unregister β the kernel API manual, bestie edition β¨
okay so real talk, this one's from the <cyan>Kernel API Manual</cyan>, and it's literally the "girl, you're off the list" function. we're talking blocking_notifier_chain_unregister(9) β yes the header got chopped to blocking_not...n_unregister(9) in the corner of the page, that's just how the manpage prints it, no cap π
πΈ NAME πΈ
blocking_notifier_chain_unregister β Remove notifier from a blocking notifier chain π
like, you're taking somebody off the group chat. and the group chat is blocking. that's the whole vibe.
β¨ SYNOPSIS β¨
int blocking_notifier_chain_unregister (struct blocking_notifier_head
*nh , struct notifier_block *n );
it returns an int, it takes exactly two things, and yes the spacing in that synopsis is iconic in a chaotic way β we keep it, character for character. π«Ά
π¦ ARGUMENTS π¦
nhβ pointer to the head of the blocking notifier chain π§ like, the literal entry point to the whole chain, the main character of the data structurenβ the entry to remove from the notifier chain β¨ this is the girl getting uninvited. bye bestie π
π DESCRIPTION π
so what it actually does: it removes a notifier from a blocking notifier chain. clean. simple. no drama. π
β οΈ the one thing you cannot skip: it must be called from process context. like, actually must. don't be out here calling this from an interrupt, bestie, that's not the vibe fr fr π
and the returns, listen up:
- returns zero on success β slay, she's gone π
- returns
-ENOENTon failure β aka "that notifier? not found, bestie" π
π₯ SEE ALSO π₯
okay this list is long but I promised I'd keep every single one, so here's the whole squad, no skips, no cuts π«‘
- Kernel file
./kernel/notifier.cβ the source, the origin story πΈ notifier_call_chain(9)notifier_call_chain_robust(9)atomic_notifier_chain_register(9)atomic_notifier_chain_register_unique_prio(9)atomic_notifier_chain_unregister(9)atomic_notifier_call_chain(9)atomic_notifier_call_chain_is_empty(9)blocking_notifier_chain_register(9)blocking_notifier_chain_register_unique_prio(9)blocking_notifier_call_chain(9)raw_notifier_chain_register(9)raw_notifier_chain_unregister(9)raw_notifier_call_chain(9)srcu_notifier_chain_register(9)srcu_notifier_chain_unregister(9)srcu_notifier_call_chain(9)srcu_init_notifier_head(9)
like, that's the whole friend group β atomic girls, blocking girls, raw girls, srcu girls. all of them. iykyk π§π
pro tip from me to you: if you're unregistering, go check out blocking_notifier_chain_register(9) too, because somebody had to put her on the list in the first place π
and that's the page!! π this was pulled from ./kernel, dated October 2026, and the footer says blocking_not...n_unregister(9) because the terminal just refuses to spell the whole thing out. periodt. πβ¨π¦
π¦ 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