Thread (16 messages) 16 messages, 3 authors, 2021-11-23

Re: [PATCH v4 1/5] arch_topology: Introduce thermal pressure update function

From: Lukasz Luba <lukasz.luba@arm.com>
Date: 2021-11-23 09:09:30
Also in: linux-arm-msm, linux-pm, lkml


On 11/16/21 11:39 PM, Thara Gopinath wrote:

On 11/9/21 2:57 PM, Lukasz Luba wrote:
quoted
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@arm.com>
Reviewed-by: Thara Gopinath <redacted>
Thank you Thara for the review!

_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help