Received: by 2002:a25:d783:0:0:0:0:0 with SMTP id o125csp485492ybg; Thu, 19 Mar 2020 03:29:54 -0700 (PDT) X-Google-Smtp-Source: ADFU+vs0WMJr9a6lqhpz2+k07HJ5VQmauYgaFw52JK0qvS8KF6vAOJ2mL0go8g4ciI5Wr8R77edt X-Received: by 2002:a9d:4505:: with SMTP id w5mr1745860ote.262.1584613794724; Thu, 19 Mar 2020 03:29:54 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1584613794; cv=none; d=google.com; s=arc-20160816; b=Gn5RCSei/s5WaOL99wi4qgn6+zdxjWqjrM051/cOFGWVBqGqZCqZXa+Q/wSqztjTpz uiMi05fw4dUS+6TxkVzJwmgEw3P9zF76YfuCYQl5EADXjEQ6IO2tuLspkyfs3Us8y9ND l9YXW2IRBaR0euaBuRkGdfh6pDFAz4Yuh5CZ/m9SNIzHMY6Y6FXdTKjD3XzLAf2LTlfM jArsHMXGPp9Xh3svS2fURCbTrfaoRxo7lHuS5ERkh4WvXTbsr4mAnqzZoChev/CKO2i+ b3xqyMyNrPqbSurP2OYYfUI9oScctu3n4D/wSoGU/YUMRz5PA5k/Vyh/HUbTF79VNV6D +Zsw== 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:references:cc:to:subject:from; bh=0V+RHSRirQ1FJftTmlKZ2On2Od6snDWiOC8ZE4pfeF0=; b=f7+bLP/AASG7Bg2wHqj+9WW9n3A/eRlDnJ/m/polnK2WfIg+fZ7yH91got4Fy5Zcd3 GXW+OG1MaPxTVkJdPwzalYJLIHjExG7itTJf7ZPRvBThmDjd8pOOijYepYuCQLg9LOuw q2q24+/16GL8jtLwP09yv9xozG72JQ/F8CLzPvUTfQwpRbRHpGUWoYk+FodkWMDTTZhn StOjZTkA3P2YB6tLhNq0UlJ0uFuw39a2liCp9G38k70zNDdF5JyD8yZAjhRuIqe3Mq04 07Bkx7aSI5qQXFIpC0QzcVRce5tasL31TSkFhzIDLCLebWr1MoNeWNrMF0mz1t5v+jBH hgYA== 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 m20si1128693otf.46.2020.03.19.03.29.42; Thu, 19 Mar 2020 03:29:54 -0700 (PDT) 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 S1727194AbgCSK2u (ORCPT + 99 others); Thu, 19 Mar 2020 06:28:50 -0400 Received: from foss.arm.com ([217.140.110.172]:33004 "EHLO foss.arm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726802AbgCSK2t (ORCPT ); Thu, 19 Mar 2020 06:28:49 -0400 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 7A30631B; Thu, 19 Mar 2020 03:28:49 -0700 (PDT) Received: from [192.168.1.19] (unknown [172.31.20.19]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id 800C33F305; Thu, 19 Mar 2020 03:28:48 -0700 (PDT) From: Dietmar Eggemann Subject: Re: [PATCH v2 3/9] sched: Remove checks against SD_LOAD_BALANCE To: Valentin Schneider , linux-kernel@vger.kernel.org Cc: mingo@kernel.org, peterz@infradead.org, vincent.guittot@linaro.org References: <20200311181601.18314-1-valentin.schneider@arm.com> <20200311181601.18314-4-valentin.schneider@arm.com> Message-ID: Date: Thu, 19 Mar 2020 11:28:37 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.4.1 MIME-Version: 1.0 In-Reply-To: <20200311181601.18314-4-valentin.schneider@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 11.03.20 19:15, Valentin Schneider wrote: > Potential users of that flag could have been cpusets and isolcpus. > > cpusets don't need it because they define exclusive (i.e. non-overlapping) > domain spans, see cpuset.cpu_exclusive and cpuset.sched_load_balance. > If such a cpuset contains a single CPU, it will have the NULL domain > attached to it. If it contains several CPUs, none of their domains will > extend beyond the span of the cpuset. There are also non-exclusive cpusets but I assume the statement is the same. CPUs which are only used in cpusets with cpuset.sched_load_balance=0 are attached to the NULL sched-domain. There seems to be no code which alters the SD_LOAD_BALANCE flag. [...]