longrun_get_policy(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

longrun_get_policy(9) β€” from the Kernel API Manual β€” is your little window into the current LongRun policy, and honestly? iconic. πŸ’…

✨ NAME ✨

longrun_get_policy β€” get the current LongRun policy.

πŸŽ€ SYNOPSIS πŸŽ€

void longrun_get_policy (struct cpufreq_policy *policy );

🫢 ARGUMENTS 🫢

  • policy β€” a struct cpufreq_policy where the current policy is written into. That’s the spot it fills in, bestie. πŸͺ„

πŸ’– DESCRIPTION πŸ’–

Okay so here’s the vibe: this reads the current LongRun policy by access to MSR_TMTA_LONGRUN_FLAGS and MSR_TMTA_LONGRUN_CTRL. Those two MSR names are the whole described flow, periodt. πŸ”₯

🌈 SEE ALSO 🌈

Kernel file ./drivers/cpufreq/longrun.c β€” plus the rest of the LongRun crew:


xoxo, your kernel bestie πŸ’– β€” coming at you from ./drivers/cpufreq, dated October 2026. 🫢✨

πŸ“¦ where this page comes from