local_bh_blocked(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– 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