cpuidle_enable_device(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

✨ NAME ✨

okay bestie, we’re in the Kernel API Manual, and this page is cpuidle_enable_device β€” it enables idle PM for a CPU. main character energy fr fr πŸ’…

πŸŽ€ SYNOPSIS πŸŽ€

int cpuidle_enable_device (struct cpuidle_device *dev );

🌸 ARGUMENTS 🌸

  • dev β€” the CPU. that’s the whole argument, no cap 🫢

πŸ¦‹ DESCRIPTION πŸ¦‹

So here’s the tea: when it’s used externally, this function must be called between cpuidle_pause_and_lock and cpuidle_resume_and_unlock. literally the rule, bestie ⭐

πŸ‘‘ SEE ALSO πŸ‘‘

Kernel file: ./drivers/cpuidle/cpuidle.c β€” iconic. and please, look at all these too:


cute sign-off: source/version is ./drivers/cpuidle, date is October 2026, and this page is cpuidle_enable_device(9) β€” mwah, slay πŸ’–βœ¨

πŸ“¦ where this page comes from