irq_fixup_move_pending(9)
π irq_fixup_move_pending(9)
okay so bestie, this is a page straight out of the Kernel API Manual β like, the actual kernel API manual, not a vibe. it's about tidying up after a CPU that's, uh, dying π and it lives in the kernel's IRQ world. buckle up, it's short but it eats.
β¨ NAME β¨
irq_fixup_move_pending β cleanup irq move pending from a dying CPU π«Ά
πΈ SYNOPSIS πΈ
bool irq_fixup_move_pending (struct irq_desc *desc , bool force_clear );
like, it hands you back a bool, and it takes a struct irq_desc * plus a bool. that's the whole fit. no cap.
π ARGUMENTS π
descβ the interrupt descriptor you're cleaning up. this is the thing getting the little spa treatment π§ββοΈforce_clearβ if this is set, the move pending bit gets cleared unconditionally, no questions asked, no thoughts head empty π. if it is not set, it only gets cleared when the dying CPU is the last one hanging out in the pending mask. the way that's such a specific condition, we love a selective icon π
π¦ DESCRIPTION π¦
so here's the tea: this function returns true if the pending bit was set and the pending mask contains an online CPU other than the dying CPU. that's it, that's the whole deal. two boxes to tick, both gotta be ticked, then it's a true and you may celebrate πβ
ngl if you were hoping for a novel, this is more of a haiku. the whole manpage is literally one sentence of description and honestly? relatable.
π SEE ALSO π
- Kernel file
./kernel/irq/migration.cβ go read it, iykyk π₯
okay that's the page!! and for the cute sign-off: this gorgeous little number comes from ./kernel/irq, it's the Kernel API Manual bestie, dated October 2026, and it's filed under irq_fixup_move_pending(9). 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