Received: by 2002:a05:7412:8d10:b0:f3:1519:9f41 with SMTP id bj16csp5847253rdb; Thu, 14 Dec 2023 00:55:01 -0800 (PST) X-Google-Smtp-Source: AGHT+IFNa6c8ugjGt7vxBC4b5nLPiwTRDVtG6ekzNOX2ErDu8PIMB9jbw6fOH+ZoIKG0k6vfX/Gt X-Received: by 2002:a05:6870:5ba2:b0:1fb:3ef2:a1b6 with SMTP id em34-20020a0568705ba200b001fb3ef2a1b6mr10643481oab.10.1702544101549; Thu, 14 Dec 2023 00:55:01 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1702544101; cv=none; d=google.com; s=arc-20160816; b=KhJveqyO6+c4rA9KX67ie+u1OUDAEWZSCWph/2jfcFamqB3/KHxlJlj2QsSB8cR0ft EeYZROYpxfAQP6nWeAIniy0Xqg7+fKFm0U09KGmBHH5H33Ayvy3SbujuJ3mw7I7HxeoJ vgReZeSMZlS9vM+DDEt9u6B1/yCr6IJ+2yAdW2BpcplgtTth6DN65rOnmIJBIIgFy7RM SU34E3VWhaMShyt7ZsY/jajZM4C/W8HA/+avEkdInC2LMfxenC4DlJs307eQ/Go0eTSB Zz/kh5WHt3HNnU0J1pgjh6yiD45QRGfKRS6XvH4I9hZ6vG5E+41BMNvP+AcIVxv8jk7M i0Sw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version:dkim-signature; bh=rK0m97Zm4v3ovKFUMfkKXoPKkccjk/I4Bde8s/uqvK8=; fh=d+SfIfgz9Roy0otlm/eowndbGw6azCSG/H5KqtaY0KA=; b=W5UxqRmEoDYN44h5VLD8E7oPpecQ0vbbcTqJvlc/UnbSL53pCoCsxOugkfG96M4RbO IoVOfmZEiyopKd/ZjtGDtcyboUUE7wu/Lb/vYGR8f2Wd727r1osLB6q82BjbmiKyXUof SPjh17u7UHdNtl41kKn33UaLM9875QLClMb4xbMlthnN2unyLV3nb5VUWnL2w8BBlPYz JXwTkbrl2Uj7Kkh7l1kthBiV1xMtDoSsP66CdIN+3HTF5ok6aqbwHI8HHvsgP1wwGq9Z W57Hwl0ube4qLDVBOQFhXCnKt477UBt24lKen2NUR3nTb2NC2TQ288poDvU+xBeShZpU yxLw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=Lfc5doqQ; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.35 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from groat.vger.email (groat.vger.email. [23.128.96.35]) by mx.google.com with ESMTPS id c13-20020a631c4d000000b005c65fe4373fsi10712149pgm.315.2023.12.14.00.55.01 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 14 Dec 2023 00:55:01 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.35 as permitted sender) client-ip=23.128.96.35; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=Lfc5doqQ; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.35 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by groat.vger.email (Postfix) with ESMTP id 10EF5801B6DF; Thu, 14 Dec 2023 00:54:59 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at groat.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1443426AbjLNIyk (ORCPT + 99 others); Thu, 14 Dec 2023 03:54:40 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:49226 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229441AbjLNIyj (ORCPT ); Thu, 14 Dec 2023 03:54:39 -0500 Received: from mail-pf1-x42f.google.com (mail-pf1-x42f.google.com [IPv6:2607:f8b0:4864:20::42f]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id B4AF8109 for ; Thu, 14 Dec 2023 00:54:45 -0800 (PST) Received: by mail-pf1-x42f.google.com with SMTP id d2e1a72fcca58-6ceb27ec331so5112057b3a.1 for ; Thu, 14 Dec 2023 00:54:45 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1702544085; x=1703148885; darn=vger.kernel.org; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=rK0m97Zm4v3ovKFUMfkKXoPKkccjk/I4Bde8s/uqvK8=; b=Lfc5doqQYTSO3iZ1t4glMeEIbfVbUgGoDBdKF3BfalCUJ0aPbMhz6RzCxzXr45+Ycq H2xe/iBBS60GUA/r8+xa8d23GshQlyxXvPh9ON1b8rVSVRzdnS0snp4+BowcKqZum/v9 HF3TUphGcgwAxCoEbMIcBtoKUFUWDTtFtR517N74ZJ2DhqtlfKqYyqYYQUDeRYE1irqj XDypx8kr88tXxGzrbakIO9JDQlHf6swdCrVAZxzw0rze4WkuCxpC9AHGdMsEwqcaLdgr ENBl2ZtxulWz+6NN+Mviwh1Ig1pUBBdZT3PSgG66nJWRDh9L5SErQbaqsh0RZ4d6Zc0s kw8Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1702544085; x=1703148885; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=rK0m97Zm4v3ovKFUMfkKXoPKkccjk/I4Bde8s/uqvK8=; b=B07+p9t3h4fuq666X4tghknmW4lucKmH9SAACNlyiPbw7Qy2HX0r/ohz7UUpkSh8mZ bmoQaJ0KKnzSQSUCkFUdvdW01PPjLR70b6eEY4vLEkVbZG1MDz87ECkZBkhWeddUSPEF XoSpOqi57PjAjyrmxre1p0j9Uex0cOcLo1FedDoR59D1GiPgTWs4ex7Y1fOZkaQaBScf mPfgbc0k2tB3I+zCXXbvIneZ1YT1uLr++fuPgpWtrt7n/Ad/2YNXVf17yrE50wcfm3zA d7U1xrSfvNi0iBE0+Mp2B6orQCTUjCD06HTlnxLkTXjB3oO4YDgGGup/vDG/yGqd2Vku wksQ== X-Gm-Message-State: AOJu0YzxJhHaWQYVYraOm6/gcZKv38MEgEcdnn3NlNbPEqSprniQSUSp zOcOX/mbZBCkvJf+NEF2U0RoKYyBMRbTgoCRRNC3tQ== X-Received: by 2002:a05:6a00:3a1d:b0:6d0:8b0d:b8c6 with SMTP id fj29-20020a056a003a1d00b006d08b0db8c6mr3981164pfb.34.1702544085168; Thu, 14 Dec 2023 00:54:45 -0800 (PST) MIME-Version: 1.0 References: <20231212142730.998913-1-vincent.guittot@linaro.org> <20231212142730.998913-5-vincent.guittot@linaro.org> <274a6562-46c9-4b03-9295-c24e5eb9e6cd@arm.com> In-Reply-To: From: Vincent Guittot Date: Thu, 14 Dec 2023 09:54:34 +0100 Message-ID: Subject: Re: [PATCH 4/4] sched: Rename arch_update_thermal_pressure into arch_update_hw_pressure To: Lukasz Luba Cc: catalin.marinas@arm.com, bristot@redhat.com, linux-pm@vger.kernel.org, juri.lelli@redhat.com, agross@kernel.org, viresh.kumar@linaro.org, rafael@kernel.org, linux-kernel@vger.kernel.org, rui.zhang@intel.com, dietmar.eggemann@arm.com, mgorman@suse.de, linux-trace-kernel@vger.kernel.org, mingo@redhat.com, peterz@infradead.org, konrad.dybcio@linaro.org, andersson@kernel.org, rostedt@goodmis.org, linux-arm-msm@vger.kernel.org, linux-arm-kernel@lists.infradead.org, bsegall@google.com, vschneid@redhat.com, will@kernel.org, sudeep.holla@arm.com, daniel.lezcano@linaro.org, mhiramat@kernel.org, amit.kachhap@gmail.com Content-Type: text/plain; charset="UTF-8" X-Spam-Status: No, score=-0.9 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on groat.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (groat.vger.email [0.0.0.0]); Thu, 14 Dec 2023 00:54:59 -0800 (PST) On Thu, 14 Dec 2023 at 09:53, Lukasz Luba wrote: > > > > On 12/14/23 08:36, Vincent Guittot wrote: > > On Thu, 14 Dec 2023 at 09:30, Lukasz Luba wrote: > >> > >> > >> On 12/12/23 14:27, Vincent Guittot wrote: > > [snip] > > >>> update_rq_clock(rq); > >>> - thermal_pressure = arch_scale_thermal_pressure(cpu_of(rq)); > >>> - update_thermal_load_avg(rq_clock_thermal(rq), rq, thermal_pressure); > >>> + hw_pressure = arch_scale_hw_pressure(cpu_of(rq)); > >>> + update_hw_load_avg(rq_clock_task(rq), rq, hw_pressure); > >> > >> We switch to task clock here, could you tell me why? > >> Don't we have to maintain the boot command parameter for the shift? > > > > This should have been part of the patch5 that I finally removed. IMO, > > the additional time shift with rq_clock_thermal is no more needed now > > that we have 2 separates signals > > > > I didn't like the left-shift which causes the signal to converge slowly. > I rather wanted right-shift to converge (react faster), so you have my > vote for this change. Also, I agree that with the two-signal approach > this shift trick can go away now. I just worry about the dropped boot > parameter. > > So, are going to send that patach5 which removes the > 'sched_thermal_decay_shift' and documentation bit? Yes, i will add it back for the next version