Received: by 2002:a05:6a10:a0d1:0:0:0:0 with SMTP id j17csp430453pxa; Wed, 12 Aug 2020 05:54:57 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyiIci+QXmCOyho9XDbubUzCvvjDQFiVFD0qV4FJU6CYdhocCtKWF4P+x5h0UKPve8cxGYR X-Received: by 2002:a17:906:8389:: with SMTP id p9mr32591937ejx.391.1597236896953; Wed, 12 Aug 2020 05:54:56 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1597236896; cv=none; d=google.com; s=arc-20160816; b=d0zXmk/yE6mkHmZqZW6+16G1cMDohb7Ap6lTahoYma3OiJ1iN7adhtnknePjO4Loot TrS0MNpCkcZXO1bMQ0YAmjpt+dBHA4U6G2Coc03Ud24Wx4O90+fRjMo42Dh4JXIhoZkV WTnOjSIVKO43T4b2MyybviFLAYQEZH/HeXlph259OwzQNRFxERRLPFyjqFTdl21yfyZL 507Xyals9XBqHpkXtN10TFCUPLCvqFXJI1EXeTBWNTYmvMQGHsDiEeWEdTBI6FJTI3Re pid6Z9ppLaZ2wjp00HPERJvcrJTgSeOAP4iVyMb2Qfcn1oCtf+FRP2g90Jdv181+Y7wC iwcA== 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:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from; bh=9ONNmpiPlUsBOppluyyJhBqIauJW3ZAmfyyl9an6uqQ=; b=TXAWBFyS15DtFlkbO3qslXfQT9eXMFsK52+Hm+WFMbNpU/TjgOncyqRyLW2UepIyg+ yml+I9ixLxofL26IUQwMG8TT1sffFcfZLj6Lk6fQ45OYUrFlFNJcmzh6So0WY3Sdkkd0 iZDOHvS0JIxciViZ4a9KEdpKPmLCvIzQYoEYbVa9k+hofeyLRIk3dP7v65nqcL8e0HT0 ZIYGQ5ufEnTceuvgHFtPa/lxBnDqh4Y0YGwys0FNqaBE1Vca1Xu2hYwx3T5iccoV9M6W cLiixUkt/tj9F5fKwnzbl+B+XlKNYw2crWkBP76nzOw8Xmlr8lPeZ+ETgCT1SjRmf9KX +GkA== 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id w9si1188283edq.487.2020.08.12.05.54.34; Wed, 12 Aug 2020 05:54:56 -0700 (PDT) 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728133AbgHLMxn (ORCPT + 99 others); Wed, 12 Aug 2020 08:53:43 -0400 Received: from foss.arm.com ([217.140.110.172]:44692 "EHLO foss.arm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727977AbgHLMxd (ORCPT ); Wed, 12 Aug 2020 08:53:33 -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 3A63431B; Wed, 12 Aug 2020 05:53:33 -0700 (PDT) Received: from e113632-lin.cambridge.arm.com (e113632-lin.cambridge.arm.com [10.1.194.46]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPA id F09023F70D; Wed, 12 Aug 2020 05:53:31 -0700 (PDT) From: Valentin Schneider To: linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org Cc: mingo@kernel.org, peterz@infradead.org, vincent.guittot@linaro.org, dietmar.eggemann@arm.com, morten.rasmussen@arm.com, Quentin Perret Subject: [PATCH v5 14/17] sched/topology: Mark SD_ASYM_PACKING as SDF_NEEDS_GROUPS Date: Wed, 12 Aug 2020 13:52:57 +0100 Message-Id: <20200812125300.11889-15-valentin.schneider@arm.com> X-Mailer: git-send-email 2.27.0 In-Reply-To: <20200812125300.11889-1-valentin.schneider@arm.com> References: <20200812125300.11889-1-valentin.schneider@arm.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Being a load-balancing flag, it requires 2+ groups to have any effect. Signed-off-by: Valentin Schneider --- include/linux/sched/sd_flags.h | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/include/linux/sched/sd_flags.h b/include/linux/sched/sd_flags.h index 6eb302528659..f855f80f0052 100644 --- a/include/linux/sched/sd_flags.h +++ b/include/linux/sched/sd_flags.h @@ -123,10 +123,11 @@ SD_FLAG(SD_SERIALIZE, SDF_SHARED_PARENT | SDF_NEEDS_GROUPS) * Place busy tasks earlier in the domain * * SHARED_CHILD: Usually set on the SMT level. Technically could be set further - * up, but currently assumed to be set from the base domain upwards (see - * update_top_cache_domain()). + * up, but currently assumed to be set from the base domain + * upwards (see update_top_cache_domain()). + * NEEDS_GROUPS: Load balancing flag. */ -SD_FLAG(SD_ASYM_PACKING, SDF_SHARED_CHILD) +SD_FLAG(SD_ASYM_PACKING, SDF_SHARED_CHILD | SDF_NEEDS_GROUPS) /* * Prefer to place tasks in a sibling domain -- 2.27.0