[PATCH v4 1/5] arch_topology: Introduce thermal pressure update function
Lukasz Luba
lukasz.luba at arm.com
Tue Nov 23 01:09:21 PST 2021
On 11/16/21 11:39 PM, Thara Gopinath wrote:
>
>
> On 11/9/21 2:57 PM, Lukasz Luba wrote:
>> The thermal pressure is a mechanism which is used for providing
>> information about reduced CPU performance to the scheduler. Usually code
>> has to convert the value from frequency units into capacity units,
>> which are understandable by the scheduler. Create a common conversion
>> code
>> which can be just used via a handy API.
>>
>> Internally, the topology_update_thermal_pressure() operates on frequency
>> in MHz and max CPU frequency is taken from 'freq_factor' (per-cpu).
>>
>> Signed-off-by: Lukasz Luba <lukasz.luba at arm.com>
>
> Reviewed-by: Thara Gopinath <thara.gopinath at linaro.org>
>
Thank you Thara for the review!
More information about the linux-arm-kernel
mailing list