local_bh_blocked(9)
π NAME π
okay so this is the local_bh_blocked(9) page from the Kernel API Manual, and we are gonna make it make sense π
local_bh_blocked β Check for idle whether BH processing is blocked β¨
πΈ SYNOPSIS πΈ
bool local_bh_blocked (void );
π ARGUMENTS π
voidβ no arguments, like literally none π«Ά
π¦ DESCRIPTION π¦
It returns false if the per CPU softirq::cnt is 0, otherwise it returns true π
This is invoked from the idle task to guard against false positive softirq pending warnings π. Those would happen when the task which holds softirq_ctrl::lock was the only running task on the CPU and blocks on some other lock. No cap, that is the whole vibe check π₯
β SEE ALSO β
Kernel file ./kernel/softirq.c β¨ and also irq_enter_rcu(9), irq_enter(9), irq_exit_rcu(9), irq_exit(9) π¦
mwah π this lil page comes from the ./kernel source/version and is dated October 2026 β local_bh_blocked(9), out β¨
π¦ 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