Received: by 2002:a05:6358:a55:b0:ec:fcf4:3ecf with SMTP id 21csp2986826rwb; Mon, 16 Jan 2023 02:04:39 -0800 (PST) X-Google-Smtp-Source: AMrXdXvV1Qf4AcD7x0aNHcyCPZSSMMYG5ZvAdMdeIIH2a7c08MjDnNsqv5ZO4pLoox2fsaxW64UI X-Received: by 2002:a05:6402:2a08:b0:470:4d71:6d43 with SMTP id ey8-20020a0564022a0800b004704d716d43mr82258204edb.25.1673863478937; Mon, 16 Jan 2023 02:04:38 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1673863478; cv=none; d=google.com; s=arc-20160816; b=SlHQBNkvJNl0YhT3M6a0mkLwAn8UDn3txwzuG7cTzYJ+n7PgE9faDk+XXYFJieTBPA v92IQTafefUO+xRHsNs4ZT2g+I9N5ADe0OaEqI+yaYYSsGO6MXUE0usyIo0w3gYYMCHl ek2Ok0mXrMILAmcy6+R58/9BZ0dkNTAXfuSL0lBsfHspOOH81AxCb0Xf0ewrhxYL5dLv tnL7ojhgduKZBlOyLpznAobVpIbvL/hogE2M/y5y1xNOnC7qup7i0zKrQDsD2tXWcaG6 /MlVB2eKbfvpAEywSg+6mYELraDaJiyUE0w71JrEwj0o0iu29xkU2WYHNikTzD+o4MgO LKHw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:from :references:cc:to:content-language:subject:user-agent:mime-version :date:message-id; bh=PgdV5n8cNXA3+YOhvWlGOwLwQT25trVScYe6eCC+bOQ=; b=GdvK7tTVf8ykzcPPPnwuFjwtTjD27+TTygQAxHamTiS7uyKcF7/kTMgnCdkRm0uDdA ZKwCvvVlNDAbWaLFuUCAvCkIgVPPRF/wVpGcZTZ2UsXLUjfiZZ/FK3I1L5qibQs1KDbP BqvxwELiGke+BirQzW71MItz5BEMKEVMiloxXlcJzY4Zfursp36zXBzEPvyDP0pEUa8V IAj3malnXTEvb06VtMra2nrVM76Ta+gKZ0HDpHOg7Dndi9dNaSpj6xa7hntybjxYsOmT fX1NYW8Ws/W2dXnm0t5w7E7JT6JfDbFDw0yKJ6PtpKJGQ6Wwv0yc8w39B0DjyLdZRWKd pzCQ== 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=arm.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id ek21-20020a056402371500b0048a48116656si27975504edb.417.2023.01.16.02.04.26; Mon, 16 Jan 2023 02:04:38 -0800 (PST) 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=arm.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232187AbjAPJVd (ORCPT + 51 others); Mon, 16 Jan 2023 04:21:33 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:51048 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231954AbjAPJV3 (ORCPT ); Mon, 16 Jan 2023 04:21:29 -0500 Received: from foss.arm.com (foss.arm.com [217.140.110.172]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id CAA0F44B6; Mon, 16 Jan 2023 01:21:25 -0800 (PST) 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 AAF4EAD7; Mon, 16 Jan 2023 01:22:07 -0800 (PST) Received: from [10.12.3.201] (unknown [172.31.20.19]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id 5FCD03F67D; Mon, 16 Jan 2023 01:21:22 -0800 (PST) Message-ID: <487f0252-c697-eb62-989d-57ee731691a2@arm.com> Date: Mon, 16 Jan 2023 09:21:20 +0000 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.4.2 Subject: Re: [PATCH v2] sched/fair: unlink misfit task from cpu overutilized Content-Language: en-US To: Qais Yousef , Vincent Guittot Cc: Kajetan Puchalski , mingo@kernel.org, peterz@infradead.org, rafael@kernel.org, viresh.kumar@linaro.org, vschneid@redhat.com, linux-pm@vger.kernel.org, linux-kernel@vger.kernel.org, lukasz.luba@arm.com, wvw@google.com, xuewen.yan94@gmail.com, han.lin@mediatek.com, Jonathan.JMChen@mediatek.com References: <20221228165415.3436-1-vincent.guittot@linaro.org> <20230114211854.nmvmhtd5yz5wgh2a@airbuntu> From: Dietmar Eggemann In-Reply-To: <20230114211854.nmvmhtd5yz5wgh2a@airbuntu> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-4.3 required=5.0 tests=BAYES_00,NICE_REPLY_A, RCVD_IN_DNSWL_MED,SPF_HELO_NONE,SPF_NONE 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 On 14/01/2023 22:18, Qais Yousef wrote: > On 01/13/23 15:28, Vincent Guittot wrote: >> Hi Kajetan, >> >> On Fri, 13 Jan 2023 at 14:50, Kajetan Puchalski >> wrote: [...] >>> sched/uclamp: Fix a uninitialized variable warnings >>> (baseline_ufc) sched/fair: Check if prev_cpu has highest spare cap in feec() >>> sched/uclamp: Cater for uclamp in find_energy_efficient_cpu()'s early exit condition >>> sched/uclamp: Make cpu_overutilized() use util_fits_cpu() >>> sched/uclamp: Make asym_fits_capacity() use util_fits_cpu() >>> sched/uclamp: Make select_idle_capacity() use util_fits_cpu() >>> sched/uclamp: Fix fits_capacity() check in feec() >>> sched/uclamp: Make task_fits_capacity() use util_fits_cpu() >>> sched/uclamp: Fix relationship between uclamp and migration margin >>> (previous 'baseline' was here) >>> >>> I omitted the 3 patches relating directly to capacity_inversion but in > > This could lead to confusion. Was there a specific reason for this omission? > Did you hit some problem? I thought Vincent's 'split MF from CPU OU' should replace 'CapInv'? https://lkml.kernel.org/r/20221209164739.GA24368@vingu-book ... I have reverted patches: Revert "sched/fair: Detect capacity inversion" Revert "sched/fair: Consider capacity inversion in util_fits_cpu()" Revert "sched/uclamp: Make cpu_overutilized() use util_fits_cpu()" ... You also mentioned this in https://lkml.kernel.org/r/<20230115001906.v7uq4ddodrbvye7d@airbuntu [...]