Received: by 2002:a05:7412:8d09:b0:fa:4c10:6cad with SMTP id bj9csp59625rdb; Mon, 15 Jan 2024 12:05:36 -0800 (PST) X-Google-Smtp-Source: AGHT+IEB6vr1KJJN9u+2llqADRaI+pC/0hcdDnmLtPIIJRNQsn/JjCUa0DsFd7FANCM2+ImGzaT2 X-Received: by 2002:a05:6808:1b27:b0:3bd:8157:af8c with SMTP id bx39-20020a0568081b2700b003bd8157af8cmr1520661oib.32.1705349135929; Mon, 15 Jan 2024 12:05:35 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1705349135; cv=none; d=google.com; s=arc-20160816; b=B7MIe1t18T2SwuXzsOdQLfvTd53N7dupXoh3xT+O5vC/2SJHnBerISpF0AF5brn5M3 vkvkf9sgjg6DU5nc9jg5oxMcYhUOAMeRVFgeCMfoXXEzKa0BAXCBB8UNBD8/7pGYR9SS q9RvhcrFkfWY8TR80pUpDOtijCJF01bBzzE0Q+vB/MDq+u19+KlliqzbnB8sv2oDWp+W p8cZr/A6E9AL2/9RsjxIlF4PN39NUgOhnhrhusqskW1lQs4F+IughIEfKKGNbPRrpT4p ZsLqN/xReOGjtEx4Rb0VZsrKgW5OJbEaK89gFXyXpqlan8dFxxS0NQg3hTci/gfWB/3B snRA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:date:message-id; bh=vO5Iti74lMCr7v+H0cRHGqYptjKt4wqxvUXH1eUDNF8=; fh=SHg9h6scPTeRRO0/0vFXQVNVAdFof1Uyhx6bEXKBosA=; b=V7dhT7vcZ+mgdUAy13yjP5HqhwpE8ih9OLiXJdqcDS2XjYQlGeOOTQAQpN6ikonckJ ZmyFI7Eqdj+j3ydmjwq/0Q7ticBM9TVSg/dtk2CLfT1pb/BMekrubVWcoB20dmbx30Kv VQNneqJJ2cViurWyToIsHZ2wrC6UyF2ZfL4/sEP8tCNmwGQKFFpPVQFUcOcS7KZSOBVy yBh5WOWb86FVhtXF2tYmvDHkkpm9YmCxLJwAyU5y+XI35BhzIMCLZyqUB298kaLRHLzk vLfGwnog4u0WPkHWqTJgX62QEIHxvYP0F43mBwuWlzqachgzXdxKv8VbRWw/62ZeSTyT yUyQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel+bounces-26459-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-26459-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=arm.com Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [147.75.199.223]) by mx.google.com with ESMTPS id j10-20020a37ef0a000000b0078154e525besi8493062qkk.485.2024.01.15.12.05.35 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 15 Jan 2024 12:05:35 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-26459-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) client-ip=147.75.199.223; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel+bounces-26459-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-26459-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=arm.com Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ny.mirrors.kernel.org (Postfix) with ESMTPS id A864C1C22128 for ; Mon, 15 Jan 2024 20:05:35 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id AEA691946C; Mon, 15 Jan 2024 20:05:29 +0000 (UTC) Received: from foss.arm.com (foss.arm.com [217.140.110.172]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 3357C18E2A for ; Mon, 15 Jan 2024 20:05:26 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=arm.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=arm.com 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 CF7A82F4; Mon, 15 Jan 2024 12:06:12 -0800 (PST) Received: from [192.168.178.6] (unknown [172.31.20.19]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id 190513F73F; Mon, 15 Jan 2024 12:05:23 -0800 (PST) Message-ID: <0880d81b-9c80-423c-95e6-2fe973e7d739@arm.com> Date: Mon, 15 Jan 2024 21:05:22 +0100 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [GIT PULL] Scheduler changes for v6.8 Content-Language: en-US To: Vincent Guittot Cc: Qais Yousef , Wyes Karny , Linus Torvalds , Ingo Molnar , linux-kernel@vger.kernel.org, Peter Zijlstra , Thomas Gleixner , Juri Lelli , Steven Rostedt , Ben Segall , Mel Gorman , Daniel Bristot de Oliveira , Valentin Schneider References: <20240114091240.xzdvqk75ifgfj5yx@wyes-pc> <20240114123759.pjs7ctexcpc6pshl@wyes-pc> <20240114151250.5wfexq44o3mdm3nh@airbuntu> <20240114195815.nes4bn53tc25djbh@airbuntu> <20240115120915.fukpcdumntdsllwi@airbuntu> From: Dietmar Eggemann In-Reply-To: Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit On 15/01/2024 16:26, Vincent Guittot wrote: > On Mon, 15 Jan 2024 at 15:03, Dietmar Eggemann wrote: >> >> On 15/01/2024 14:26, Vincent Guittot wrote: >>> On Mon, 15 Jan 2024 at 13:09, Qais Yousef wrote: >>>> >>>> On 01/15/24 09:21, Vincent Guittot wrote: [...] > Now, util can't be higher than max to handle clamping use cases > whereas it could be the case before. The jump to next OPP was > previously done with util being higher than max and it's now done with > freq being higher than policy->cur Ah, OK: util = map_util_perf(util) <- (1) util *= 1.25 in the old code was doing this. And you do this now via frequency for the !freq_inv case. I just saw that you already mention this in the patch header of: https://lkml.kernel.org/r/20240114183600.135316-1-vincent.guittot@linaro.org