Received: by 2002:a05:6a10:8c0a:0:0:0:0 with SMTP id go10csp1537487pxb; Thu, 4 Feb 2021 16:06:00 -0800 (PST) X-Google-Smtp-Source: ABdhPJyNda2UTpkUj6+M7TI447dORTOyKxWcI3sBNXG81Oo6G+zO0Po1WPVw5uzflwDOJ2lSmGe4 X-Received: by 2002:a05:6402:309c:: with SMTP id de28mr1010828edb.96.1612483560624; Thu, 04 Feb 2021 16:06:00 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1612483560; cv=none; d=google.com; s=arc-20160816; b=BsUFKMkzDk/Mh4HSnjjrhq/8qryRXJo6Uq+pbKg2XnjhXY7Mlflclb1VqMao8zGfo/ j0wmSjgVfAinbqf5td32EWVJh/s/RTLTI6B5KMr2Zlb7EuTwR7nv7AiF8vgVXch3KyHf CscEWgCQZ8Hedi81cUwT85okwtlO7oJiNRWfjCu30OycPOo1Nf8+WeyAfxKuP1PYL4lb 66VS5bL6EF6tz57RiUPic40nOLbI5It+aQoK1uGRpcvOWFhZiRcY+fgccx1aJpNNzh/i O+FqL1rkwTthRvAbTlfSvM/KMdZXVRkBsNv/AfzC/nGBeCIiBB85qpnebDt26TRvhrcx H7Hg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:message-id:date:user-agent :references:in-reply-to:subject:cc:to:from; bh=A/hdo+t1GN4hpS+5Uu7rSmI8NlTHR57YbPp5GbSxkRo=; b=iE/QfgPBilNCrwJeGjeLxenhJBY8sCV55ZkYjUKdu5xQQHnxmTxHe97lhAVv6EjqRq 57DCac5R3UDfUloQy8MFz/VRFAFXv7teiAC4LfjKsg3xUXgKhMHbGMhTdVwDLu/uPqM7 DmVIWUwEmPKfnFQnYnykIfPUMIMICfPe2Jkdi7LbbrUvpqlHCpbF4N6ci0iO6xne86Hb 4RzXa6m4oC3OdVfn9gVpbKyZui/Gr6uhFxstnduArVnzPBlHP57m3KRNhRrrxvZjv6An CyDHTUh50fiEJ5JTsXZGTNNp4Y1PNaAT8OzHNAcahXF+/ZqcctiAaYgzwEvKkvJUx1t1 8NIw== 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 v4si5231387edj.37.2021.02.04.16.05.36; Thu, 04 Feb 2021 16:06:00 -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 S235780AbhBDMXS (ORCPT + 99 others); Thu, 4 Feb 2021 07:23:18 -0500 Received: from foss.arm.com ([217.140.110.172]:57394 "EHLO foss.arm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235531AbhBDMXS (ORCPT ); Thu, 4 Feb 2021 07:23:18 -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 97D9DD6E; Thu, 4 Feb 2021 04:22:32 -0800 (PST) Received: from e113632-lin (e113632-lin.cambridge.arm.com [10.1.194.46]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id 444DC3F73B; Thu, 4 Feb 2021 04:22:31 -0800 (PST) From: Valentin Schneider To: Dietmar Eggemann , Qais Yousef Cc: linux-kernel@vger.kernel.org, Peter Zijlstra , Ingo Molnar , Vincent Guittot , Morten Rasmussen , Quentin Perret , Pavan Kondeti , Rik van Riel Subject: Re: [PATCH 7/8] sched/fair: Attempt misfit active balance when migration_type != migrate_misfit In-Reply-To: References: <20210128183141.28097-1-valentin.schneider@arm.com> <20210128183141.28097-8-valentin.schneider@arm.com> <20210203151647.ygvlktrivpw4a7qh@e107158-lin> User-Agent: Notmuch/0.21 (http://notmuchmail.org) Emacs/26.3 (x86_64-pc-linux-gnu) Date: Thu, 04 Feb 2021 12:22:29 +0000 Message-ID: MIME-Version: 1.0 Content-Type: text/plain Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 04/02/21 12:44, Dietmar Eggemann wrote: > 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")? Bah, you're right, I got confused with when I first wrote that vs when I last updated the changelog. As of e9b9734b7465 ("sched/fair: Reduce cases for active balance")e9b9734b7465 The above changelog is actually correct.