aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorIngo Molnar <mingo@kernel.org>2016-11-30 02:33:54 -0500
committerIngo Molnar <mingo@kernel.org>2016-11-30 02:36:10 -0500
commit0a21fc1214a25427e13538665ff2afbe707a0b9f (patch)
tree68ab05365b42ee9ef6556d92e6b5efbfcc3ecd55
parentde966cf4a4fa8d4e0357b08204bc791f34deb3fb (diff)
sched/x86: Make CONFIG_SCHED_MC_PRIO=y easier to enable
Right now CONFIG_SCHED_MC_PRIO has X86_INTEL_PSTATE as a dependency, which is not enabled by default and which hides the CONFIG_SCHED_MC_PRIO hardware-enabling feature. Select X86_INTEL_PSTATE instead, plus its dependency (CPU_FREQ), if the user enables CONFIG_SCHED_MC_PRIO=y. (Also align the CONFIG_SCHED_MC_PRIO Kconfig help text in standard style.) Cc: Linus Torvalds <torvalds@linux-foundation.org> Cc: Peter Zijlstra <peterz@infradead.org> Cc: Srinivas Pandruvada <srinivas.pandruvada@linux.intel.com> Cc: Thomas Gleixner <tglx@linutronix.de> Cc: Tim Chen <tim.c.chen@linux.intel.com> Cc: bp@suse.de Cc: jolsa@redhat.com Cc: linux-acpi@vger.kernel.org Cc: linux-pm@vger.kernel.org Cc: rjw@rjwysocki.net Cc: linux-kernel@vger.kernel.org Signed-off-by: Ingo Molnar <mingo@kernel.org>
-rw-r--r--arch/x86/Kconfig24
1 files changed, 13 insertions, 11 deletions
diff --git a/arch/x86/Kconfig b/arch/x86/Kconfig
index 715c1f3664c4..b50e5eeefd21 100644
--- a/arch/x86/Kconfig
+++ b/arch/x86/Kconfig
@@ -941,22 +941,24 @@ config SCHED_MC
941 941
942config SCHED_MC_PRIO 942config SCHED_MC_PRIO
943 bool "CPU core priorities scheduler support" 943 bool "CPU core priorities scheduler support"
944 depends on SCHED_MC && CPU_SUP_INTEL && X86_INTEL_PSTATE 944 depends on SCHED_MC && CPU_SUP_INTEL
945 select X86_INTEL_PSTATE
946 select CPU_FREQ
945 default y 947 default y
946 ---help--- 948 ---help---
947 Intel Turbo Boost Max Technology 3.0 enabled CPUs have a 949 Intel Turbo Boost Max Technology 3.0 enabled CPUs have a
948 core ordering determined at manufacturing time, which allows 950 core ordering determined at manufacturing time, which allows
949 certain cores to reach higher turbo frequencies (when running 951 certain cores to reach higher turbo frequencies (when running
950 single threaded workloads) than others. 952 single threaded workloads) than others.
951 953
952 Enabling this kernel feature teaches the scheduler about 954 Enabling this kernel feature teaches the scheduler about
953 the TBM3 (aka ITMT) priority order of the CPU cores and adjusts the 955 the TBM3 (aka ITMT) priority order of the CPU cores and adjusts the
954 scheduler's CPU selection logic accordingly, so that higher 956 scheduler's CPU selection logic accordingly, so that higher
955 overall system performance can be achieved. 957 overall system performance can be achieved.
956 958
957 This feature will have no effect on CPUs without this feature. 959 This feature will have no effect on CPUs without this feature.
958 960
959 If unsure say Y here. 961 If unsure say Y here.
960 962
961source "kernel/Kconfig.preempt" 963source "kernel/Kconfig.preempt"
962 964