em_table_free(9)
π em_table_free β the Kernel API Manual, bestie edition π
okay so this is em_table_free(9) from the Kernel API Manual, and honestly? she's a short one but she matters. this is the girl who handles the safe free of the EM table when it's needed β like, when the party's over and someone's gotta make sure the lights get turned off properly instead of just... leaving everything on π₯ no cap, safety first.
β¨ NAME β¨
em_table_free β handles safe free of the EM table when needed π
like yes she frees things, but the whole point is that she does it safely, and only when needed. main character energy but make it responsible π
πΈ SYNOPSIS πΈ
void em_table_free (struct em_perf_table *table );
that's it. that's the whole vibe. one function, one arg, zero drama β¨
π¦ ARGUMENTS π¦
tableβ the EM table that's going to be freed. like, this is the actual table in question, the one getting packed up and sent home π«Ά
π DESCRIPTION π
No return values. at all. zero. void, babes β she does her thing and gives you nothing back, and that's exactly how it's supposed to be π no exit code to check, no return to obsess over. she simply frees.
π§ SEE ALSO π§
living in the Kernel file ./kernel/power/energy_model.c, and honestly the whole friend group is here β go say hi π:
em_table_alloc(9)em_dev_compute_costs(9)em_dev_update_perf_domain(9)em_pd_get(9)em_cpu_get(9)em_dev_register_perf_domain(9)em_dev_register_pd_no_update(9)em_dev_unregister_perf_domain(9)em_adjust_cpu_capacity(9)em_dev_update_chip_binning(9)em_update_performance_limits(9)
lowkey the whole em_* crew is iconic and you should absolutely read them all. iykyk π
and that's the page!! sourced straight from ./kernel/power, dated October 2026, and if you ever forget the name just remember: em_table_free(9) ππ slay, go free that table safely bestie πβ
π¦ 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