generic_smp_...le_interrupt(9)
π generic_smp_call_function_single_interrupt β a Kernel API Manual moment π
okay so this is a page from the Kernel API Manual (yes, that manual, the one that lives in ./kernel and knows things) and it's about generic_smp_call_function_single_interrupt. Bestie. Sit down. It's giving "tiny function, huge responsibility" and we're gonna get into it β¨
πΈ NAME πΈ
generic_smp_call_function_single_interrupt β literally just here to execute SMP IPI callbacks. That's the whole job. Iconic of it, honestly.
π SYNOPSIS π
void generic_smp_call_function_single_interrupt (void );
π¦ ARGUMENTS π¦
voidβ no arguments, babe. Zero. None. It takes nothing, it needs nothing, it's that confident π
β¨ DESCRIPTION β¨
Okay so the arch invokes this one to handle an IPI for call function single. That's the vibe. That's the assignment.
π¨ Important, no cap: it must be called with interrupts disabled. Not optional, not a suggestion, not a "eh it'll probably be fine". Disabled. Periodt. π
π SEE ALSO π
Grab a snack, this list is a whole friend group π«Ά All of these live in the Kernel file ./kernel/smp.c:
csd_lock_is_stuck(9)__flush_smp_call_function_queue(9)flush_smp_call_function_queue(9)smp_call_function_single(9)smp_call_function_single_async(9)smp_call_function_any(9)smp_call_function_many(9)smp_call_function(9)on_each_cpu_cond_mask(9)kick_all_cpus_sync(9)wake_up_all_idle_cpus(9)cpus_peek_for_pending_ipi(9)struct smp_call_on_cpu_struct(9)smp_call_on_cpu(9)
aaaand that's the page, bestie π quick sign-off before you go: this one's sourced from ./kernel with the October 2026 version date attached, and the whole thing goes by the very cute name generic_smp_...le_interrupt(9) π go forth and call it with your interrupts disabled, mwah ππ₯
π¦ 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