free_irq_cpu_rmap(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… free_irq_cpu_rmap(9) β€” the Kernel API Manual, bestie edition πŸŽ€

okay so this is a page from the Kernel API Manual and it's literally about tidying up after yourself, which honestly? growth. ✨


🌸 NAME 🌸

free_irq_cpu_rmap β€” free a CPU affinity reverse-map used for IRQs

no cap, that's the whole vibe: you built a reverse-map so your IRQs know which CPUs are their faves, and now you're done, so you give it back. 🫢


✨ SYNOPSIS ✨

void free_irq_cpu_rmap (struct cpu_rmap *rmap );

that's it. one function, one pointer, zero drama. πŸ’…


πŸ¦‹ ARGUMENTS πŸ¦‹

  • rmap β€” the reverse-map you got from alloc_irq_cpu_map, or NULL. yep, NULL is allowed, so you don't have to do a lil if dance before calling her. πŸ™ˆ

πŸ’– DESCRIPTION πŸ’–

so here's the tea β˜•: this frees the reverse-map. that's the main character move.

but β€” and this is the important bit, bestie, don't skip it β€” it must be called in process context, and it must happen before freeing the IRQs. that's the rule. not me being dramatic, that's literally the requirement. 😭

🚨 rewind that: process context. before you free the IRQs. get the order wrong and that's a vibe check you do NOT want to fail.

🌈 SEE ALSO 🌈

the whole friend group, in the order they showed up:


okay that's the page!! πŸ§šβ€β™€οΈ this lil legend lives in ./lib and it's dated October 2026, and the manual fairy stamped free_irq_cpu_rmap(9) right there on the bottom line so you always know who you're talking to. go free that rmap, queen πŸ‘‘πŸ’œ

πŸ“¦ where this page comes from