em_table_alloc(9)
π em_table_alloc(9) π
okay bestie, welcome to the Kernel API Manual page for em_table_alloc(9) β it's giving tiny kernel helper, main character energy β¨. let's go π
β¨ NAME β¨
em_table_alloc β allocate a new EM table π
πΈ SYNOPSIS πΈ
struct em_perf_table * em_table_alloc (struct em_perf_domain *pd );
π¦ ARGUMENTS π¦
pdβ the EM performance domain for which this must be done. like, that's the domain this whole thing is for, periodt π
π DESCRIPTION π
okay so em_table_alloc allocates a new EM table and initializes its kref to indicate that it has a user. then it returns the allocated table, or NULL. no cap, that's the whole vibe: allocate it, init the kref so it knows a user is there, and hand it back β or hand back NULL π. literally the whole function, bestie π«Ά
π₯ SEE ALSO π₯
the kernel file is ./kernel/power/energy_model.c, and the whole squad is:
em_table_free(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)
mwah π source/version check: ./kernel/power; date check: October 2026; page check: em_table_alloc(9) β bye bestie, slay your kernel journey π«Άβ¨
π¦ 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