cpuidle_coupled_poke(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– NAME πŸ’–

cpuidle_coupled_poke β€” wake up a cpu that may be waiting, bestie πŸ’…

(this one lives in the Kernel API Manual, ok? that's the whole vibe ✨)


πŸ¦‹ SYNOPSIS πŸ¦‹

void cpuidle_coupled_poke (int cpu );

πŸŽ€ ARGUMENTS πŸŽ€

  • cpu β€” the target cpu, like the one you're trying to wake up 🫢

✨ DESCRIPTION ✨

Okay so here's the tea: this function ensures that the target cpu exits its waiting idle state (if it happens to be in it rn), and that it will see updates to waiting_count before it re-enters its waiting idle state. No cap, that's literally the whole job πŸ’–

And if cpuidle_coupled_poked_mask is already set for the target cpu? Then that cpu either has or will soon have a pending IPI that'll wake it out of idle, or it's currently processing that IPI and is not in idle at all. So like… it's already handled, no need to spiral 😌


🌈 SEE ALSO 🌈

Kernel file ./drivers/cpuidle/coupled.c, plus the whole friend group:


okay that's the page!! sourced straight from ./drivers/cpuidle, dated October 2026, and no I did not make that date up, it's right there in the footer πŸŽ€ go poke some cpus bestie, ily, mwah πŸ’‹βœ¨

πŸ“¦ where this page comes from