cpuidle_cou...ister_device(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… cpuidle_coupled_unregister_device β€” a Kernel API Manual moment

okay so bestie, welcome to the Kernel API Manual ✨ this page is literally just about one function and honestly? she's kind of a big deal in the cpuidle friend group 🫢


✨ NAME ✨

cpuidle_coupled_unregister_device β€” unregister a coupled cpuidle device πŸŽ€


🌸 SYNOPSIS 🌸

void cpuidle_coupled_unregister_device (struct cpuidle_device *dev );

that's it. that's the whole signature. no return value, she gives you nothing back and honestly? iconic behaviour πŸ‘‘


πŸ¦‹ ARGUMENTS πŸ¦‹

  • dev β€” the struct cpuidle_device for the current cpu. that's your girl, the one you're unregistering πŸ’…

πŸ’– DESCRIPTION πŸ’–

so here's the tea β˜• this one gets called from cpuidle_unregister_device to tear down coupled idle. like, the whole coupled setup? yeah, we're dismantling it. rip bozo 😭

what she actually does, fr fr:

  • removes the cpu from the coupled idle set 🧚
  • and if this was the last cpu in the set, she frees the cpuidle_coupled_info struct πŸŽ€

that's the whole personality. queen of cleanup. no cap πŸ’œ


🌈 SEE ALSO 🌈

bestie, go read the source, it's right here: Kernel file ./drivers/cpuidle/coupled.c β€” and while you're at it, lowkey obsessed with the whole friend group:


ngl the whole set is giving "we're a package deal" energy πŸ”₯ do a vibe check on all of them, iykyk πŸ’€

and that's the page, bestie!! mwah πŸ’‹ this lil gem lives in ./drivers/cpuidle and it's dated October 2026 β€” protect her, cite her, love her πŸŒŸπŸ’–βœ¨

πŸ“¦ where this page comes from