longrun_get_policy(9)
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β astruct cpufreq_policywhere 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
- nixpkgs unstable: linux-manual 7.3.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms