dev_pm_opp_...remove_table(9)
π dev_pm_opp_...remove_table(9) β from the Kernel API Manual bestie π
okay so like, the page header calls this thing dev_pm_opp_...remove_table(9) and honestly? it's a mouthful, but we move. the manual is literally called Kernel API Manual, and this entry is the whole entire vibe for cleaning up OPP tables. let's get into it β¨
πΈ NAME πΈ
dev_pm_opp_cpumask_remove_table β removes the OPP table for @cpumask π
periodt.
β¨ SYNOPSIS β¨
void dev_pm_opp_cpumask_remove_table (const struct cpumask *cpumask );
no cap, that's the whole signature. returns nothing (it's void, she's mysterious like that π«Ά).
π¦ ARGUMENTS π¦
cpumaskβ the cpumask for which the OPP table needs to be removed. like, which CPUs are we yeeting the table for? this tells you. π―
π DESCRIPTION π
okay so here's the tea β β this function removes the OPP tables for the CPUs that are actually present in the cpumask. literally the ones in there.
it's the one you reach for when you wanna remove all the OPPs entries associated with the cpus in cpumask. all of them. not some. all. main character energy, no leftovers π
π SEE ALSO π
the kernel file over at ./drivers/opp/cpu.c β go read her, she's iconic π
and the whole friend group:
dev_pm_opp_init_cpufreq_table(9)dev_pm_opp_free_cpufreq_table(9)dev_pm_opp_set_sharing_cpus(9)dev_pm_opp_get_sharing_cpus(9)
all of them slay in their own way π§ iykyk
ngl, if you're touching cpumask-related OPP cleanup, you already knew that. but bestie, now you really know π«Ά
and that's the whole page!! brought to you by the source at ./drivers/opp, dated October 2026 β signed, sealed, delivered, and honestly? she ate πβ¨ bye 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