From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-13.7 required=3.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER,INCLUDES_PATCH, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id DD24EC433E0 for ; Wed, 27 Jan 2021 10:54:09 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 925762074B for ; Wed, 27 Jan 2021 10:54:09 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S236213AbhA0KyG (ORCPT ); Wed, 27 Jan 2021 05:54:06 -0500 Received: from foss.arm.com ([217.140.110.172]:38536 "EHLO foss.arm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S236011AbhA0Kto (ORCPT ); Wed, 27 Jan 2021 05:49:44 -0500 Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.121.207.14]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id 175D531B; Wed, 27 Jan 2021 02:48:59 -0800 (PST) Received: from e113632-lin (e113632-lin.cambridge.arm.com [10.1.194.46]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id 157943F66B; Wed, 27 Jan 2021 02:48:57 -0800 (PST) From: Valentin Schneider To: Yue Hu , thara.gopinath@linaro.org, peterz@infradead.org Cc: linux-kernel@vger.kernel.org, huyue2@yulong.com, zhangwen@yulong.com, zbestahu@163.com Subject: Re: [PATCH] init/Kconfig: correct thermal pressure retrieve API In-Reply-To: <20210127054451.1240-1-zbestahu@gmail.com> References: <20210127054451.1240-1-zbestahu@gmail.com> User-Agent: Notmuch/0.21 (http://notmuchmail.org) Emacs/26.3 (x86_64-pc-linux-gnu) Date: Wed, 27 Jan 2021 10:48:49 +0000 Message-ID: MIME-Version: 1.0 Content-Type: text/plain Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 27/01/21 13:44, Yue Hu wrote: > From: Yue Hu > > We're using arch_scale_thermal_pressure() to retrieve per CPU thermal > pressure. > > Signed-off-by: Yue Hu Whoever wrote that clearly got "arch" and "topology" mixed up! Reviewed-by: Valentin Schneider > --- > 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