STRUCT EM_PERF_TABLE(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

✨ 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 β€” the RCU used 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:


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