blocking_not...r_call_chain(9)
π blocking_notifier_call_chain π
okay so bestie, this is a page from the Kernel API Manual β yes, the kernel, like, the actual kernel β and it's about blocking_notifier_call_chain. literally the group chat of the kernel where everybody gets a turn to speak π«Ά
β¨ NAME β¨
blocking_notifier_call_chain β Call functions in a blocking notifier chain
like, it calls the functions. in a chain. the blocking kind. iykyk πΈ
β¨ SYNOPSIS β¨
int blocking_notifier_call_chain (struct blocking_notifier_head *nh ,
unsigned long val , void *v );
that's the whole vibe check right there π₯
β¨ ARGUMENTS β¨
nhβ Pointer to head of the blocking notifier chain. it's giving "start here" energy, you literally cannot begin without it πvalβ Value passed unmodified to notifier function. and i do mean unmodified β hands off, no edits, no notes, we do not touch it πvβ Pointer passed unmodified to notifier function. same deal, untouched, sacred, periodt β
β¨ DESCRIPTION β¨
okay so what this actually does: it calls each function in a notifier chain in turn. one by one, in order, no skipping, no cutting the line π
and here's the fun part β the functions run in a process context, so they are allowed to block. yes literally allowed to block, that's the entire personality of this notifier chain, hence the name, the way that it's named so accurately, obsessed π
now the β¨plot twistβ¨: if the return value of the notifier can be and'ed with NOTIFY_STOP_MASK, then blocking_notifier_call_chain will return immediately β like, immediately immediately β with the return value of the notifier function which halted execution. that's your main character notifier right there, it said "that's it, we're done here" and everybody else just goes home π
otherwise? the return value is the return value of the last notifier function called. simple as that, no cap π
β¨ SEE ALSO β¨
bestie the friend group is LARGE, buckle up π
- Kernel file
./kernel/notifier.c 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_chain_unregister(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 i said. HUGE friend group. every single one of them iconic in their own way πβ¨
π§ and that's the page!! go forth and call your chains, bestie, you've got this π«Ά
sign-off szn π : this lil masterpiece comes from the ./kernel directory, dated October 2026, and it's filed under blocking_not...r_call_chain(9) β yes that abbreviation is real, yes it's still a mouthful, no i don't make the rules π
π¦ 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