longrun_set_policy(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

longrun_set_policy(9) πŸ’–

okay so bestie, welcome to the Kernel API Manual page for longrun_set_policy(9) β€” it’s giving β€œtiny function, very specific job,” and we’re gonna get into it ✨

🌸 NAME 🌸

longrun_set_policy β€” sets a new CPUFreq policy, periodt πŸ’…

✨ SYNOPSIS ✨

int longrun_set_policy (struct cpufreq_policy *policy );

πŸŽ€ ARGUMENTS πŸŽ€

  • policy β€” the new policy, bestie. That’s the whole vibe. πŸ¦‹

πŸ’œ DESCRIPTION πŸ’œ

So this function sets a new CPUFreq policy on LongRun-capable processors. That’s its main-character moment. πŸ‘‘

Important lock check, no cap: this function has to be called with cpufreq_driver locked. Don’t skip that part, bestie β€” it’s not a vibe, it’s a requirement. πŸ”’πŸ˜­

🌈 SEE ALSO 🌈

Kernel file ./drivers/cpufreq/longrun.c and these related pages, iykyk:


Catch u later, bestie 🫢 β€” source/version: ./drivers/cpufreq, dated October 2026. mwah πŸ’‹βœ¨

πŸ“¦ where this page comes from