irq_create_affinity_masks(9)
π irq_create_affinity_masks(9)
okay so bestie, welcome to the Kernel API Manual β¨ this one's a little function from the kernel's irq world and honestly? she's a baddie whose whole job is spreading things out so nothing gets too crowded. let's get into it π«Ά
πΈ NAME πΈ
irq_create_affinity_masks β Create affinity masks for multiqueue spreading π
like literally the name says it all: affinity masks, made by her, for multiqueue spreading. main character energy fr.
β¨ SYNOPSIS β¨
struct irq_affinity_desc * irq_create_affinity_masks (unsigned int nvecs
, struct irq_affinity *affd );
she takes two things and hands you back a struct irq_affinity_desc * (or doesn't π more on that below).
π ARGUMENTS π
nvecsβ The total number of vectors π’ like, the whole count, the full squad, the entire lineup.affdβ Description of the affinity requirements π¦ this is where you spell out exactly what kind of affinity situation you're in, and she'll respect it.
π DESCRIPTION π
Returns the irq_affinity_desc pointer β or NULL if allocation failed π that's it, that's the whole description, no cap. if it can't allocate, you get NULL and that's your vibe check failing. periodt.
ngl, if you see NULL come back, that's the allocation-failed scenario. don't ignore her π
π SEE ALSO π
- Kernel file
./kernel/irq/affinity.cβ literally where she lives, go read the source bestie iykyk π irq_calc_affinity_vectors(9)β her bestie, the vector-calculating one π€
π reminder thatirq_calc_affinity_vectors(9)and the file./kernel/irq/affinity.care the actual documented references here β go be nosy, it's giving research π§
and that's the whole page, bestie! π this was the Kernel API Manual entry for irq_create_affinity_masks(9), coming at you from ./kernel/irq, dated October 2026 β slay, go forth and spread those queues evenly πβ¨
π¦ 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