menu_select(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

okay so real talk, we're deep in the kernel API manual rn and this page is all about menu_select β€” yes that's the function menu_select, and yes it's giving main character energy in the cpuidle menu governor ✨


🌸 NAME 🌸

menu_select β€” literally picks out the next idle state to enter πŸ‘‘

πŸ¦‹ SYNOPSIS πŸ¦‹

int menu_select (struct cpuidle_driver *drv , struct cpuidle_device *dev
, bool *stop_tick );

πŸŽ€ ARGUMENTS πŸŽ€

  • drv β€” the cpuidle driver, and it's the one holding all the state data, iykyk πŸ—‚οΈ
  • dev β€” the CPU. that's it. that's the CPU bestie πŸ’…
  • stop_tick β€” an indication on whether or not to stop the tick ⏰ (it's telling you, not asking)

🌈 SEE ALSO 🌈

fr fr go read those next, they're the whole friend group 🫢


and that's the whole page, no cap πŸ’€ this absolute gem lives over in ./drivers/cpuidle/governors, dated October 2026 β€” screenshot it, cite it, obsess over it πŸŽ€βœ¨

πŸ“¦ where this page comes from