From patchwork Thu Apr 14 00:54:12 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Yang Shi X-Patchwork-Id: 8830391 Return-Path: X-Original-To: patchwork-linux-arm@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork2.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork2.web.kernel.org (Postfix) with ESMTP id 5A664C0553 for ; Thu, 14 Apr 2016 01:22:06 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 84691202D1 for ; Thu, 14 Apr 2016 01:22:05 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.9]) (using TLSv1.2 with cipher AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id BBE49201B9 for ; Thu, 14 Apr 2016 01:22:04 +0000 (UTC) Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1aqVx2-0004Es-Mg; Thu, 14 Apr 2016 01:20:08 +0000 Received: from mail-pa0-x232.google.com ([2607:f8b0:400e:c03::232]) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1aqVwy-0003rB-7J for linux-arm-kernel@lists.infradead.org; Thu, 14 Apr 2016 01:20:05 +0000 Received: by mail-pa0-x232.google.com with SMTP id ot11so39619652pab.1 for ; Wed, 13 Apr 2016 18:19:43 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id; bh=nCTQzfV0Y7bmTuaJlCWutNmcKdTn9Wxj3wsznLx56aA=; b=cCpkscS64SZRuK9Tj7F4xNlnm3y6GWlysC+m48pHnliH7cDvzqwwQgGL3A70mN3u8N Apuy4XlGcF/6TX16qa8ZxOxblGnq6keEIb2UTqum7g1G9aPryjZ+eR9KFpqRAnuTQ13i B6pY90KuEVadROYfEqBTqce0tPHRoaT6snpko= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=nCTQzfV0Y7bmTuaJlCWutNmcKdTn9Wxj3wsznLx56aA=; b=c4W8t0OkxS0dYX7Z5mmkf2plqvFIuREFdDLEa4HZ0ciQnU34jmZy5PSktLYHsnBmJB eFMVL4gHRFvAszWkkB2I8rZiMnUTGuv0yoJjYxK/CZceWUZKAFeJYgxVJuRF7s/TM9V9 F+t+YjLh1qVQLasniYrKuawRSV19OLnO6j0NqNwwB5b2+4ioX2hXBEFv22qnKWGxSmlC QsWHoLY3XkBcr4YOUXPEQYeAPAlkBs6Ernv0MNvelwHGCNlWnADrDmkEUFBaOV/X7KaF NLewjoCttRpOkTKt33Bxh8XbTjubVS4DBLzNK8odws/TT42CE2H+cn7a1lH89Bd+4/Js OfJA== X-Gm-Message-State: AOPr4FXpFOGc1YdZFDjZLglL0A/OkMfSJqh9Kyn4UDGtQ4B5C02VvxSrl0U+4b0hPn3txQ+/ X-Received: by 10.67.14.6 with SMTP id fc6mr16824223pad.55.1460596783048; Wed, 13 Apr 2016 18:19:43 -0700 (PDT) Received: from yshi-Precision-T5600.corp.ad.wrs.com (unknown-216-82.windriver.com. [147.11.216.82]) by smtp.gmail.com with ESMTPSA id ba9sm53858858pab.24.2016.04.13.18.19.41 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 13 Apr 2016 18:19:42 -0700 (PDT) From: Yang Shi To: will.deacon@arm.com, catalin.marinas@arm.com Subject: [PATCH] arm64: Kconfig: make SCHED_MC and SCHED_SMT depend on SMP Date: Wed, 13 Apr 2016 17:54:12 -0700 Message-Id: <1460595252-2330-1-git-send-email-yang.shi@linaro.org> X-Mailer: git-send-email 2.0.2 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20160413_182004_542690_D326C695 X-CRM114-Status: GOOD ( 10.10 ) X-Spam-Score: -2.7 (--) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: yang.shi@linaro.org, linaro-kernel@lists.linaro.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Spam-Status: No, score=-5.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, RCVD_IN_DNSWL_MED,RP_MATCHES_RCVD,T_DKIM_INVALID,UNPARSEABLE_RELAY autolearn=unavailable version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP SCHED_MC and SCHED_SMT are pointless when SMP is disabled. Although SMP is rarely disabled for ARM64, it looks more consistent to have such depend in Kconfig. Signed-off-by: Yang Shi --- arch/arm64/Kconfig | 2 ++ 1 file changed, 2 insertions(+) diff --git a/arch/arm64/Kconfig b/arch/arm64/Kconfig index 4f43622..e5de825 100644 --- a/arch/arm64/Kconfig +++ b/arch/arm64/Kconfig @@ -521,6 +521,7 @@ config CPU_BIG_ENDIAN config SCHED_MC bool "Multi-core scheduler support" + depends on SMP help Multi-core scheduler support improves the CPU scheduler's decision making when dealing with multi-core CPU chips at a cost of slightly @@ -528,6 +529,7 @@ config SCHED_MC config SCHED_SMT bool "SMT scheduler support" + depends on SMP help Improves the CPU scheduler's decision making when dealing with MultiThreading at a cost of slightly increased overhead in some