rcu_is_cpu_rrupt_from_idle(9)
π« rcu_is_cpu_rrupt_from_idle(9) π«
okay bestie, welcome to the Kernel API Manual β yes the whole manual, and today's main character is rcu_is_cpu_rrupt_from_idle, a function name that is genuinely a mouthful but lowkey ate π
β¨ NAME β¨
rcu_is_cpu_rrupt_from_idle β see if 'interrupted' from idle π
πΈ SYNOPSIS πΈ
int rcu_is_cpu_rrupt_from_idle (void );
π ARGUMENTS π
voidβ no arguments. literally none. zero. she takes nothing, she gives everything π«Ά
π¦ DESCRIPTION π¦
okay so here's the vibe: if the current CPU is idle and running at a first-level (not nested) interrupt, or directly, from idle, then it returns true. slay π
β οΈ real talk though β the caller must have at least disabled IRQs. that's not a suggestion, that's the rule, no cap, don't come crying to me if you skip it π
π₯ SEE ALSO π₯
Kernel file ./kernel/rcu/tree.c and honestly her whole friend group:
rcu_softirq_qs(9)rcu_watching_snap_stopped_since(9)rcu_irq_exit_check_preempt(9)__rcu_irq_enter_check_tick(9)rcu_is_watching(9)rcu_set_gpwrap_lag(9)call_rcu_hurry(9)call_rcu(9)synchronize_rcu(9)get_completed_synchronize_rcu_full(9)get_state_synchronize_rcu(9)get_state_synchronize_rcu_full(9)start_poll_synchronize_rcu(9)start_poll_synchronize_rcu_full(9)poll_state_synchronize_rcu(9)poll_state_synchronize_rcu_full(9)cond_synchronize_rcu(9)cond_synchronize_rcu_full(9)rcu_barrier(9)rcu_barrier_throttled(9)
like, the whole squad showed up ππ
β¨ that's the whole page bestie, hope it slayed β¨ sourced from ./kernel/rcu, dated October 2026, and signed off as none other than rcu_is_cpu_rrupt_from_idle(9) herself β 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