topology_update_hw_pressure(9)
πΈ NAME πΈ
topology_update_hw_pressure β Update HW pressure for CPUs π
and yes bestie, this one is from the Kernel API Manual, so you know it's kernel-business.
β¨ SYNOPSIS β¨
void topology_update_hw_pressure (const struct cpumask *cpus , unsigned
long capped_freq );
π ARGUMENTS π
cpusβ the related CPUs for which capacity has been reduced, no cap. π«Άcapped_freqβ the maximum allowed frequency that CPUs can run at. slay. β‘
π DESCRIPTION π
okay so this function updates the value of HW pressure for all cpus in the mask. The cpumask should include all (online+offline) affected CPUs, to avoid operating on stale data when hot-plug is used for some CPUs. literally include the offline girlies too, bestie. π
capped_freq reflects the currently allowed max CPUs frequency due to HW capping. It might be also a boost frequency value, which is bigger than the internal 'capacity_freq_ref' max frequency. In such case the pressure value should simply be removed, since this is an indication that there is no HW throttling. π¦β¨
and ngl, capped_freq must be provided in kHz. not vibes, not MHz, kHz. periodt. ππ
π¦ SEE ALSO π¦
Kernel file ./drivers/base/arch_topology.cβ go peek at the kernel file, iykyk. ππ
β¨ cute sign-off: source/version ./drivers/base Β· date October 2026 Β· page topology_update_hw_pressure(9) β bye bestie, go slay that kernel work ππ«Άπ
π¦ 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