irq_can_set_affinity_usr(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… 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:

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