Received: by 2002:a25:8b91:0:0:0:0:0 with SMTP id j17csp1622079ybl; Thu, 30 Jan 2020 03:09:22 -0800 (PST) X-Google-Smtp-Source: APXvYqw4mCs8ksa//wbPgA1stROC6E4YFYLXX09fboIR4J2jEQboyLkuewoRnfGVuGX7O6HM0A+H X-Received: by 2002:a05:6830:158:: with SMTP id j24mr3224905otp.316.1580382562441; Thu, 30 Jan 2020 03:09:22 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1580382562; cv=none; d=google.com; s=arc-20160816; b=fhtQnnoARIZ5XylCDZFO/PGyBGks3rTmJr+ukLFL8dY0vWfnzB3cmrp6F+jNJnfsxY LLzSYJaudiCk8WvkgPrw6HKns9WlEQnyKFFLZFQ2HA8VgMBFq0rpOqmYg2GFpbstW0zW wwZqcVyn3zVplwpiENcEe0qcV+LL1/4iHW58A782hTzuANpsaKgkPdkW06Zv+R9m5tZr cl/n/+DYM16qlHMRrr9Lpdngba7Nc1jWDltHk57YdVdW3LFdmkvOOsLldixfsoPaPkvW C/8BqHDVWvxOxowe+EDko57KeLy2lQ0YC7yJ8yJ4ql3Wn7QfhDwI8xT4IohFkYeAqPR4 +oBA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding :content-language:in-reply-to:mime-version:user-agent:date :message-id:from:references:cc:to:subject; bh=e3CwppRYppnyIo/kDmo72DRkz+hR+oUhthvBi3maQbc=; b=GsqY0qbpEZTgp+schsjfPetJXNxzI7PrlfS+QKdWDloDeQ+WgXQ3fUkhpVy7MX/aux SSa9GAOLpbm4KNdMAbmuHRO9zRi7idmKLhl4jzhF6kBzw5vhND9uHakrt3+/c5K3L6TY 3FISkQW4u9gNbo4Ls7srdN8nuD1gvNP0Ubn4gqLU1MzF4aD5qTf5UzT6GL8PyIDKv+So x2Ld5qdqeaNZK53WpS2GjFm1ko/G7CAzQI4jufORLfs6i7A/V+KRiuj7z2to1lthzPhZ Q4rJheU/VV29ChLg/7puEOq47U1POPcyws2YddT7o+chL8aTCPljsvoBT8RaVRY3yHyu PRrQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id a9si2660318oib.59.2020.01.30.03.09.09; Thu, 30 Jan 2020 03:09:22 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727027AbgA3LGw (ORCPT + 99 others); Thu, 30 Jan 2020 06:06:52 -0500 Received: from foss.arm.com ([217.140.110.172]:51130 "EHLO foss.arm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726902AbgA3LGw (ORCPT ); Thu, 30 Jan 2020 06:06:52 -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 935CB328; Thu, 30 Jan 2020 03:06:51 -0800 (PST) Received: from [10.1.194.46] (e113632-lin.cambridge.arm.com [10.1.194.46]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id 909EF3F67D; Thu, 30 Jan 2020 03:06:50 -0800 (PST) Subject: Re: [PATCH v3 2/3] sched/topology: Remove SD_BALANCE_WAKE on asymmetric capacity systems To: Dietmar Eggemann , linux-kernel@vger.kernel.org Cc: mingo@redhat.com, peterz@infradead.org, vincent.guittot@linaro.org, morten.rasmussen@arm.com, qperret@google.com, adharmap@codeaurora.org References: <20200126200934.18712-1-valentin.schneider@arm.com> <20200126200934.18712-3-valentin.schneider@arm.com> <92f38645-c6ae-0e15-fac9-8c6064b5d4cf@arm.com> From: Valentin Schneider Message-ID: <203f41b4-6fbe-2b69-0548-02ea326b704e@arm.com> Date: Thu, 30 Jan 2020 11:06:49 +0000 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.9.0 MIME-Version: 1.0 In-Reply-To: <92f38645-c6ae-0e15-fac9-8c6064b5d4cf@arm.com> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 29/01/2020 16:27, Dietmar Eggemann wrote: > On 26/01/2020 21:09, Valentin Schneider wrote: >> From: Morten Rasmussen > > [...] > >> @@ -1374,18 +1374,9 @@ sd_init(struct sched_domain_topology_level *tl, >> * Convert topological properties into behaviour. >> */ >> >> - if (sd->flags & SD_ASYM_CPUCAPACITY) { >> - struct sched_domain *t = sd; >> - >> - /* >> - * Don't attempt to spread across CPUs of different capacities. >> - */ >> - if (sd->child) >> - sd->child->flags &= ~SD_PREFER_SIBLING; >> - >> - for_each_lower_domain(t) > > It seems that with this goes the last use of for_each_lower_domain(). > > [...] > Indeed, good catch. I see that was used at some point before the select_idle_sibling() rework: 10e2f1acd010 ("sched/core: Rewrite and improve select_idle_siblings()") and our asymmetry policy saved it. I'll remove it in v4.