* [PATCH] init/Kconfig: correct thermal pressure retrieve API
@ 2021-01-27 5:44 Yue Hu
2021-01-27 10:48 ` Valentin Schneider
0 siblings, 1 reply; 2+ messages in thread
From: Yue Hu @ 2021-01-27 5:44 UTC (permalink / raw)
To: valentin.schneider, thara.gopinath, peterz
Cc: linux-kernel, huyue2, zhangwen, zbestahu
From: Yue Hu <huyue2@yulong.com>
We're using arch_scale_thermal_pressure() to retrieve per CPU thermal
pressure.
Signed-off-by: Yue Hu <huyue2@yulong.com>
---
init/Kconfig | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/init/Kconfig b/init/Kconfig
index c4e0a7e..5b35e15 100644
--- a/init/Kconfig
+++ b/init/Kconfig
@@ -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
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] init/Kconfig: correct thermal pressure retrieve API
2021-01-27 5:44 [PATCH] init/Kconfig: correct thermal pressure retrieve API Yue Hu
@ 2021-01-27 10:48 ` Valentin Schneider
0 siblings, 0 replies; 2+ messages in thread
From: Valentin Schneider @ 2021-01-27 10:48 UTC (permalink / raw)
To: Yue Hu, thara.gopinath, peterz; +Cc: linux-kernel, huyue2, zhangwen, zbestahu
On 27/01/21 13:44, Yue Hu wrote:
> From: Yue Hu <huyue2@yulong.com>
>
> We're using arch_scale_thermal_pressure() to retrieve per CPU thermal
> pressure.
>
> Signed-off-by: Yue Hu <huyue2@yulong.com>
Whoever wrote that clearly got "arch" and "topology" mixed up!
Reviewed-by: Valentin Schneider <valentin.schneider@arm.com>
> ---
> init/Kconfig | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/init/Kconfig b/init/Kconfig
> index c4e0a7e..5b35e15 100644
> --- a/init/Kconfig
> +++ b/init/Kconfig
> @@ -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
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2021-01-27 10:54 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-01-27 5:44 [PATCH] init/Kconfig: correct thermal pressure retrieve API Yue Hu
2021-01-27 10:48 ` Valentin Schneider
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).