Received: by 2002:a25:d783:0:0:0:0:0 with SMTP id o125csp485831ybg; Thu, 19 Mar 2020 03:30:18 -0700 (PDT) X-Google-Smtp-Source: ADFU+vtG9REHYB/SODiQ2XG14ebvKPFFQt0VL5fpHI9/N1Kz0edatULR8jBT8/d+6vosjp4KoZbQ X-Received: by 2002:a9d:bf5:: with SMTP id 108mr1820445oth.260.1584613818453; Thu, 19 Mar 2020 03:30:18 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1584613818; cv=none; d=google.com; s=arc-20160816; b=l9hahKNaia+bkz3r331OdBNTD9cGRKgLPtgdy5f5VNkcyYAKJngDsI3FdPkSUMVIOe +AXQElZ5TNaWMYl+iBNDjfHCjAkek7uDyd/X9OjC7gsq2+A29dxj9QgMvUN43juteZmT olaEAgeBXCSm0zVtUvJyuZOQBXvdlaK4LCRt27t3e6URSs3Dea///8IFaxR+7XW2MQ43 i3NS5ZewbdLcu0NzEJ2tLA139rJV8UjzFci16Bwt6pv5YjyeRaAaNpKLHEs/95SYb7Gy VrQgxmDYXSfp3KHJiSQ9bn3oMtsAnUHBOX7xJWWYYnsXPkBcr2vg76M/DhBLUWIhVwi2 DytA== 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=hZRogduw70t6yB06V7ZNg6E3Wg77tZ7Z5GYQmBrqfUo=; b=JhIt9TVqKTCZYrwGe+4hEC+WONcozG2TU9XUQNAjFsXDBek6AH1xk4YXxIRH6QPqEV 6R3xt3tjUrn1WS8xGxFlGf0KYJEBJmtDPPwWgubuYtH4KReqblKFpq6KoZMb8T3s26rc uxnGjTqRDZFqtXmEMWGGiOmrQ6xyDDyUpLStiNN7noVHplsOFkjdMbbrPmeu+PEhB/LT Zdp0GB2wHVBQjBnyQxNwbc01myP2HurFQxUlYQ1iEKek2wThdR2df3c/MSNCKGNPu1k3 VPTcOIHB0Qx7pbYeQpRBhDjaYjau0x5DgWaztQGw77XV3ABeQaX2XyQit/lTQ3x5I49R BUZQ== 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 t19si911557oif.250.2020.03.19.03.30.06; Thu, 19 Mar 2020 03:30:18 -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 S1727023AbgCSK3i (ORCPT + 99 others); Thu, 19 Mar 2020 06:29:38 -0400 Received: from foss.arm.com ([217.140.110.172]:33030 "EHLO foss.arm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726785AbgCSK3h (ORCPT ); Thu, 19 Mar 2020 06:29:37 -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 6BF7D31B; Thu, 19 Mar 2020 03:29:37 -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 719903F305; Thu, 19 Mar 2020 03:29:36 -0700 (PDT) From: Dietmar Eggemann Subject: Re: [PATCH v2 4/9] sched/topology: Kill 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-5-valentin.schneider@arm.com> Message-ID: Date: Thu, 19 Mar 2020 11:29:25 +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-5-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: > That flag is set unconditionally in sd_init(), and no one checks for it > anymore. Remove it. Why not merge 3/9 and 4/9 ? [...] > diff --git a/include/linux/sched/topology.h b/include/linux/sched/topology.h > index f341163fedc9..8de2f9744569 100644 > --- a/include/linux/sched/topology.h > +++ b/include/linux/sched/topology.h > @@ -11,21 +11,20 @@ > */ > #ifdef CONFIG_SMP > > -#define SD_LOAD_BALANCE 0x0001 /* Do load balancing on this domain. */ > -#define SD_BALANCE_NEWIDLE 0x0002 /* Balance when about to become idle */ [...] > -#define SD_OVERLAP 0x2000 /* sched_domains of this level overlap */ > -#define SD_NUMA 0x4000 /* cross-node balancing */ > +#define SD_BALANCE_NEWIDLE 0x0001 /* Balance when about to become idle */ IMHO, changing the values of the remaining SD flags will break lots of userspace scripts. [...]