Skip to contentSkip to conversation

init/Kconfig: correct thermal pressure retrieve API

PATCH In review Yue Hu 2 participants 2 messages Jan 27, 2021

lore
Share & tools
lore

Yue Hu

author
#0 lore raw

PATCH 1/1 init/Kconfig: correct thermal pressure retrieve API

From: Yue Hu <[email protected]>

We're using arch_scale_thermal_pressure() to retrieve per CPU thermal pressure.

---
 init/Kconfig | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
init/Kconfig +1 -1
index c4e0a7e..5b35e15 100644
@@ -525,7 +525,7 @@ config SCHED_THERMAL_PRESSURE
 	  i.e. put less load on throttled CPUs than on non/less throttled ones.
 
 	  This requires the architecture to implement
-	  arch_set_thermal_pressure() and arch_get_thermal_pressure().
+	  arch_set_thermal_pressure() and arch_scale_thermal_pressure().
 
 config BSD_PROCESS_ACCT
 	bool "BSD Process Accounting"
Signature · 1 line
1.9.1
Reviewed-by on v1 1/1
#1 lore raw
Quoted 6 lines · Yue Hu

From: Yue Hu <[email protected]>

We're using arch_scale_thermal_pressure() to retrieve per CPU thermal pressure.

Whoever wrote that clearly got "arch" and "topology" mixed up!

Quoted 19 lines
---
 init/Kconfig | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
init/Kconfig +1 -2
index c4e0a7e..5b35e15 100644
@@ -525,7 +525,7 @@ config SCHED_THERMAL_PRESSURE
        i.e. put less load on throttled CPUs than on non/less throttled ones.
 
        This requires the architecture to implement
-	  arch_set_thermal_pressure() and arch_get_thermal_pressure().
+	  arch_set_thermal_pressure() and arch_scale_thermal_pressure().
 
 config BSD_PROCESS_ACCT
      bool "BSD Process Accounting"
--

1.9.1