em_perf_state_from_pd(9)
β¨ NAME β¨
okay so em_perf_state_from_pd β it grabs you the performance states table of a perf. domain. This is the em_perf_state_from_pd(9) page from the Kernel API Manual, bestie π
β¨
π SYNOPSIS π
struct em_perf_state * em_perf_state_from_pd (struct em_perf_domain *pd
);
π ARGUMENTS π
pdβ the performance domain for which this must be done, fr fr π«Ά
π¦ DESCRIPTION π¦
okay so to use this function, the rcu_read_lock should be held π β yes, thatβs the vibe check.
After the usage of the performance states table is finished, the rcu_read_unlock should be called. Do not skip that part, bestie ππ
πΈ RETURN πΈ
It returns the pointer to the performance states table of the performance domain πβ¨
π₯ SEE ALSO π₯
- Kernel file
./include/linux/energy_model.h struct em_perf_state(9)struct em_perf_table(9)struct em_perf_domain(9)em_pd_get_efficient_state(9)em_cpu_energy(9)em_pd_nr_perf_states(9)
okay bye bestie π«Ά β this em_perf_state_from_pd(9) page is from ./include/linux, 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