STRUCT EM_PERF_TABLE(9)
β¨ NAME β¨
okay so bestie, we're looking at struct em_perf_table β literally the performance states table π
and yes, this is struct em_perf_table(9) from the Kernel API Manual, section 9. no cap, that's the whole name vibe π
πΈ SYNOPSIS πΈ
the struct itself is giving exactly this, bestie:
struct em_perf_table {
struct rcu_head rcu;
struct kref kref;
struct em_perf_state state[];
};
π«Ά Members π«Ά
rcuβ theRCUused for safe access and destruction. it's doing the quiet background safety work, iconic behavior honestly π§krefβ the reference counter that tracks the users. keeping tabs on everybody, lowkey main character energy πstateβ the list of performance states, in ascending order. not chaotic, not shuffled, just ascending. periodt β¨
π₯ SEE ALSO π₯
Kernel file: ./include/linux/energy_model.h β and the whole friend group is:
struct em_perf_state(9)struct em_perf_domain(9)em_pd_get_efficient_state(9)em_cpu_energy(9)em_pd_nr_perf_states(9)em_perf_state_from_pd(9)
and that's the page, bestie π¦ source is ./include/linux, dated October 2026, and the whole thing is filed under struct em_perf_table(9) β slay, go read the kernel, ily π
π¦ 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