Received: by 2002:a05:6a10:8c0a:0:0:0:0 with SMTP id go10csp1535280pxb; Thu, 4 Feb 2021 16:02:55 -0800 (PST) X-Google-Smtp-Source: ABdhPJz6RD/dbcuDaHbAGHCyDHqyGj7m5VEKF2jRum0UrqL+o1jcnC6FIMi4yfp3z6ZoM4+81Jcg X-Received: by 2002:a17:906:564f:: with SMTP id v15mr1498959ejr.274.1612483375180; Thu, 04 Feb 2021 16:02:55 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1612483375; cv=none; d=google.com; s=arc-20160816; b=WYtjx3BoV5z4CQPUkI727/n1FJHZB/BtSIbd7QfZrUQ5Ug/HVVuKh3V1L6kLpJhami qNr7Bjmawfc8mGgwFiWLBsBG9jfTu6/HGCu1MtG3L5xnOaW9AahgTPrRTXUuIT9cmRK8 NQ42frIToiarwSCq4M2NRxK6qaHaXNwL5wooWTLus6hgzoSxmYqrkMMhqOwxkhwliqrS 3DDc5JHpQ77QIEl1I2Ykicp4p5EeWTSQAc+TankRYYMOI6twJCfIWZnzyu4uVq/SkAM+ LjJxkvUJxOHm9Lg4W9BOLF/wc3KCwTc92DbzEw+jLGV4OssqZyu0BmWkLyEQS1rXc/fo hhfg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:content-language :in-reply-to:mime-version:user-agent:date:message-id:from:references :cc:to:subject; bh=HN3VjNQsiM2B0AMa2gWKDmzg7W746iYJexOkETa0sns=; b=0A/opV+BOhsC+JwJlaZWuGFG79n0xU6g5zzS6I/pjZHSazXmWMJ2227IqekRlAFJfc mMkoAfymJbmkSmjOFlJhqJogYvqmbWK8GNrIy2BhVb2bMb09TA5ssVTieX78PYOqVjBH +Vt3PnUTOdmJmDyEkIsvG3GqVPBxr1xhdnBAy2ZBMZTcZWo6G0pMwJ27/5743ojGLmQf aGt46zX1t8qLLjQR8U8BmTRZNdXShlpp0AdLtRtme43HR//3I/grnAuB+FBzB/dl3Crj FurZ3ZVk2ya++D8V8csvGCCWtTDOswfnQZIcM0tVOtchd2XaTrr1vBmFOVuXUySxQ8J6 6/rA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 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 vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id j19si4615554edw.550.2021.02.04.16.02.30; Thu, 04 Feb 2021 16:02:55 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 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 S235898AbhBDLpc (ORCPT + 99 others); Thu, 4 Feb 2021 06:45:32 -0500 Received: from foss.arm.com ([217.140.110.172]:56858 "EHLO foss.arm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235830AbhBDLp3 (ORCPT ); Thu, 4 Feb 2021 06:45:29 -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 15BEED6E; Thu, 4 Feb 2021 03:44:44 -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 298063F73B; Thu, 4 Feb 2021 03:44:41 -0800 (PST) Subject: Re: [PATCH 7/8] sched/fair: Attempt misfit active balance when migration_type != migrate_misfit To: Valentin Schneider , Qais Yousef Cc: linux-kernel@vger.kernel.org, Peter Zijlstra , Ingo Molnar , Vincent Guittot , Morten Rasmussen , Quentin Perret , Pavan Kondeti , Rik van Riel References: <20210128183141.28097-1-valentin.schneider@arm.com> <20210128183141.28097-8-valentin.schneider@arm.com> <20210203151647.ygvlktrivpw4a7qh@e107158-lin> From: Dietmar Eggemann Message-ID: Date: Thu, 4 Feb 2021 12:44:40 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.10.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 03/02/2021 19:43, Valentin Schneider wrote: > On 03/02/21 15:16, Qais Yousef wrote: >> On 01/28/21 18:31, Valentin Schneider wrote: >>> Giving group_misfit_task a higher group_classify() priority than >>> group_imbalance doesn't seem like the right thing to do. Instead, make >>> need_active_balance() return true for any migration_type when the >> >> s/need_active_balance()/voluntary_active_balance()/? >> >>> destination CPU is idle and the source CPU has a misfit task. >>> >>> While at it, add an sd_has_asym_cpucapacity() guard in >>> need_active_balance(). >> >> ditto. >> > > Myes, clearly this has been left to ferment for too long! Wasn't the migrate_misfit condition moved from voluntary_active_balance() into need_active_balance() by commit ("sched/fair: Reduce cases for active balance")?