Received: by 2002:a05:6358:c692:b0:131:369:b2a3 with SMTP id fe18csp4828337rwb; Mon, 31 Jul 2023 12:58:28 -0700 (PDT) X-Google-Smtp-Source: APBJJlFoxBpNVWvJsqr1Qds14gW/dcDrKLsoYrKSC/17Z+OZzZEfoX3ILpPs25vCeF2UiflcjDLl X-Received: by 2002:a54:4412:0:b0:3a0:ff3a:72e2 with SMTP id k18-20020a544412000000b003a0ff3a72e2mr9456281oiw.35.1690833508669; Mon, 31 Jul 2023 12:58:28 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1690833508; cv=none; d=google.com; s=arc-20160816; b=lhCFyIPnm0ML2DpgdkVfVuqGQGjfAzrdcbTGKW+3lWTZd5tnHnibzhIzZuQ3c4zmRc q4UM8GWTMUDKQm5QBf0vnoQMPljhOzpsde+VKQMacxQzxJv83Oy2DBUCoAuK6HEv5GDX LhoHb8kH3UW3QoRzsx7yIDUep1dEaZG2Nlrvj9n4lPwSqmX/K+bNHPxhPFornwTSkQEd R8e9yTtU/P2/drgp8pJuj1jaAQq4x+4i3NrSZlIQBzjAo52DE9wkCKZk8MDQ9gYGPPxb PSCsPm28uYMkeuCnmtSKNBkqj6/vqRtmsdsUIp8LKCfVB/T3rJs0HKZSO7fQ516nUwvN fQvg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from; bh=UdhMWl2ygMfAll8QA9F7pEljX4Ai2nhwDjGGm3Zee1U=; fh=vcb1WTwJPUMTZX6OxkyO+5cKBEoTRHpgQZ5gmsle4eE=; b=vWPBs3jrmgFbKyZIR+Ajjo2MEHooSXyEvrYHs6zZV6dHORkYDGQk8+LFo8uNb4Di5Q N18kzhe1BiovFLDdMVH2WP1tDV0Z/bHrwGJAFPvmy4XFlFv3VYiBA8iioWjz75Qt9lVr jKzBZpGTWG7FmrWGgDvoM+D05nfYX0u27r969NrRz8jZQPp48/SMeoWrqhYbglDgf+jq dki/kr7MsJFbsqHxPDIVMwqa2hQXLhaq2o3N0+YHRsaSuDzYGjAiUwKQvBraalPnLM/2 QFeCEKan8LUrg4i01T55802IWNkvba/7BY5jYF7AQPlUZBDLjwbo5Iw56gjkZ9tJ19hx UMng== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id r19-20020a170903411300b001bba73ddf5bsi4008218pld.566.2023.07.31.12.58.16; Mon, 31 Jul 2023 12:58:28 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231266AbjGaTFH (ORCPT + 99 others); Mon, 31 Jul 2023 15:05:07 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:42708 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230049AbjGaTE5 (ORCPT ); Mon, 31 Jul 2023 15:04:57 -0400 Received: from cloudserver094114.home.pl (cloudserver094114.home.pl [79.96.170.134]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 5A42A1711; Mon, 31 Jul 2023 12:04:56 -0700 (PDT) Received: from localhost (127.0.0.1) (HELO v370.home.net.pl) by /usr/run/smtp (/usr/run/postfix/private/idea_relay_lmtp) via UNIX with SMTP (IdeaSmtpServer 5.2.0) id 1e1f3776e05a7fc3; Mon, 31 Jul 2023 21:04:54 +0200 Authentication-Results: v370.home.net.pl; spf=softfail (domain owner discourages use of this host) smtp.mailfrom=rjwysocki.net (client-ip=195.136.19.94; helo=[195.136.19.94]; envelope-from=rjw@rjwysocki.net; receiver=) Received: from kreacher.localnet (unknown [195.136.19.94]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by v370.home.net.pl (Postfix) with ESMTPSA id 6B8216620E2; Mon, 31 Jul 2023 21:04:54 +0200 (CEST) From: "Rafael J. Wysocki" To: Linux PM Cc: LKML , Peter Zijlstra , Anna-Maria Behnsen , Frederic Weisbecker , Kajetan Puchalski Subject: [PATCH v3 0/3] cpuidle: teo: Avoid stopping scheduler tick too often Date: Mon, 31 Jul 2023 20:49:33 +0200 Message-ID: <4515817.LvFx2qVVIh@kreacher> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="UTF-8" X-CLIENT-IP: 195.136.19.94 X-CLIENT-HOSTNAME: 195.136.19.94 X-VADE-SPAMSTATE: clean X-VADE-SPAMCAUSE: gggruggvucftvghtrhhoucdtuddrgedviedrjeeggddutdekucetufdoteggodetrfdotffvucfrrhhofhhilhgvmecujffqoffgrffnpdggtffipffknecuuegrihhlohhuthemucduhedtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmdenucfjughrpefhvfevufffkfgggfgtsehtufertddttdejnecuhfhrohhmpedftfgrfhgrvghlucflrdcuhgihshhotghkihdfuceorhhjfiesrhhjfiihshhotghkihdrnhgvtheqnecuggftrfgrthhtvghrnhepgeffhfdujeelhfdtgeffkeetudfhtefhhfeiteethfekvefgvdfgfeeikeeigfehnecuffhomhgrihhnpehkvghrnhgvlhdrohhrghenucfkphepudelhedrudefiedrudelrdelgeenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepihhnvghtpeduleehrddufeeirdduledrleegpdhhvghlohepkhhrvggrtghhvghrrdhlohgtrghlnhgvthdpmhgrihhlfhhrohhmpedftfgrfhgrvghlucflrdcuhgihshhotghkihdfuceorhhjfiesrhhjfiihshhotghkihdrnhgvtheqpdhnsggprhgtphhtthhopeeipdhrtghpthhtoheplhhinhhugidqphhmsehvghgvrhdrkhgvrhhnvghlrdhorhhgpdhrtghpthhtoheplhhinhhugidqkhgvrhhnvghlsehvghgvrhdrkhgvrhhnvghlrdhorhhgpdhrtghpthhtohepphgvthgvrhiisehinhhfrhgruggvrggurdhorhhgpdhrtghpthhtoheprghnnhgrqdhmrghrihgrsehlihhnuhhtrhho nhhigidruggvpdhrtghpthhtohepfhhrvgguvghrihgtsehkvghrnhgvlhdrohhrghdprhgtphhtthhopehkrghjvghtrghnrdhpuhgthhgrlhhskhhisegrrhhmrdgtohhm X-DCC--Metrics: v370.home.net.pl 1024; Body=6 Fuz1=6 Fuz2=6 X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,SPF_HELO_NONE, SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Folks, Patch [1/3] in this series is a v3 of this patch posted last week: https://lore.kernel.org/linux-pm/4506480.LvFx2qVVIh@kreacher/ Patch [2/3] (this is the second version of it) addresses some bail out paths in teo_select() in which the scheduler tick may be stopped unnecessarily too. Patch [3/3] replaces a structure field with a local variable (while at it) and it is the same as its previous version. According to this message: https://lore.kernel.org/linux-pm/CAJZ5v0jJxHj65r2HXBTd3wfbZtsg=_StzwO1kA5STDnaPe_dWA@mail.gmail.com/ this series significantly reduces the number of cases in which the governor requests stopping the tick when the selected idle state is shallow, which is incorrect. Thanks!