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: 65767 Delivered-To: patch@linaro.org Received: by 10.140.93.198 with SMTP id d64csp323605qge; Wed, 13 Apr 2016 18:19:52 -0700 (PDT) X-Received: by 10.66.33.1 with SMTP id n1mr17216929pai.65.1460596792165; Wed, 13 Apr 2016 18:19:52 -0700 (PDT) Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id p19si4256080pfi.248.2016.04.13.18.19.51; Wed, 13 Apr 2016 18:19:52 -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; dkim=pass header.i=@linaro.org; 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; dmarc=pass (p=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751401AbcDNBTu (ORCPT + 29 others); Wed, 13 Apr 2016 21:19:50 -0400 Received: from mail-pa0-f41.google.com ([209.85.220.41]:32961 "EHLO mail-pa0-f41.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750884AbcDNBTs (ORCPT ); Wed, 13 Apr 2016 21:19:48 -0400 Received: by mail-pa0-f41.google.com with SMTP id zm5so39693078pac.0 for ; Wed, 13 Apr 2016 18:19:48 -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=KNjL7Vc876Hj1VNzYc4AHzlbi4nxSa0QtAjwNRdfStDgKJjcagkb3putdgnbUms6r/ iJEOI+uGUCpOMfttRWSQiOCkWAntODjX/zirM972pIZEVyzgQEFFsOtLSUwvmj+FbsMq llDNL1g6yGLGVhYc3CZ6FXTNuS5r9us+LK+xUCnQn7JnxrfMXFty7lSSCOae4jgo2DYg 20P5vMuusDb3iTdOSMcgVMtGX0rTsRw59g656JrunbtG5seZiwI6yOBq2yZRyJcS8XoZ vwZD4FM439/4G5ZtbLm6Fevc/blYvkqBKwBtW+1RW28tPJaPrBYjkJTXQehbDmR0GkJ/ R+IA== X-Gm-Message-State: AOPr4FVLlHeaIg18pleDnv41iZrkbnXEuu8BoykLP0lPDAWXj2CNMI3NdzVlE4WEEPPyLyPt 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 Cc: linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linaro-kernel@lists.linaro.org, yang.shi@linaro.org 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 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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(+) -- 2.0.2 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