irq_can_set_affinity_usr(9)
π irq_can_set_affinity_usr(9) β¨
okay so real talk bestie, this is a page straight out of the Kernel API Manual and it's honestly so underrated. it's tiny, it's specific, and it does exactly one thing β let's get into it π«Ά
πΈ NAME πΈ
irq_can_set_affinity_usr β check if the affinity of an irq can actually be set from user space, no cap
β¨ SYNOPSIS β¨
bool irq_can_set_affinity_usr (unsigned int irq );
that's it. one function, returns a bool, takes one arg. minimal. iconic. main character energy π
π ARGUMENTS π
irqβ the interrupt you wanna check π literally just hand it the irq number and it'll tell you what's up
π¦ DESCRIPTION π¦
okay so picture this: it works like irq_can_set_affinity above π but it's got that extra lil something. on top of everything that one does, this one additionally checks for the AFFINITY_MANAGED flag π©
so if that flag is in the mix, that's the whole extra vibe check this function is doing. it's giving "same but more thorough." periodt π
π SEE ALSO π
first up, the source tea β β kernel file ./kernel/irq/manage.c, and then the whole friend group:
synchronize_hardirq(9)synchronize_irq(9)irq_can_set_affinity(9)irq_set_thread_affinity(9)irq_affinity_schedule_notify_work(9)irq_update_affinity_desc(9)irq_set_affinity(9)irq_force_affinity(9)irq_set_affinity_notifier(9)irq_set_vcpu_affinity(9)disable_irq_nosync(9)disable_irq(9)disable_hardirq(9)disable_nmi_nosync(9)enable_irq(9)enable_nmi(9)irq_set_irq_wake(9)irq_wake_thread(9)free_irq(9)request_threaded_irq(9)request_any_context_irq(9)request_nmi(9)irq_percpu_is_enabled(9)free_percpu_irq(9)request_percpu_irq_affinity(9)request_percpu_nmi(9)prepare_percpu_nmi(9)teardown_percpu_nmi(9)irq_get_irqchip_state(9)irq_set_irqchip_state(9)irq_has_action(9)irq_check_status_bit(9)
like, the whole irq cinematic universe fr fr π go read them, they all ate π₯
ngl this page lives in ./kernel/irq and it's dated October 2026 β so yeah, future vibes only π§ββοΈ until next time bestie, stay interruptible ππΈ
π¦ 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