[tip:sched/core] sched/x86: Make CONFIG_SCHED_MC_PRIO=y easier to enable

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Commit-ID:  0a21fc1214a25427e13538665ff2afbe707a0b9f
Gitweb:     http://git.kernel.org/tip/0a21fc1214a25427e13538665ff2afbe707a0b9f
Author:     Ingo Molnar <mingo@xxxxxxxxxx>
AuthorDate: Wed, 30 Nov 2016 08:33:54 +0100
Committer:  Ingo Molnar <mingo@xxxxxxxxxx>
CommitDate: Wed, 30 Nov 2016 08:36:10 +0100

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@xxxxxxxxxxxxxxxxxxxx>
Cc: Peter Zijlstra <peterz@xxxxxxxxxxxxx>
Cc: Srinivas Pandruvada <srinivas.pandruvada@xxxxxxxxxxxxxxx>
Cc: Thomas Gleixner <tglx@xxxxxxxxxxxxx>
Cc: Tim Chen <tim.c.chen@xxxxxxxxxxxxxxx>
Cc: bp@xxxxxxx
Cc: jolsa@xxxxxxxxxx
Cc: linux-acpi@xxxxxxxxxxxxxxx
Cc: linux-pm@xxxxxxxxxxxxxxx
Cc: rjw@xxxxxxxxxxxxx
Cc: linux-kernel@xxxxxxxxxxxxxxx
Signed-off-by: Ingo Molnar <mingo@xxxxxxxxxx>
---
 arch/x86/Kconfig | 24 +++++++++++++-----------
 1 file changed, 13 insertions(+), 11 deletions(-)

diff --git a/arch/x86/Kconfig b/arch/x86/Kconfig
index 715c1f3..b50e5ee 100644
--- a/arch/x86/Kconfig
+++ b/arch/x86/Kconfig
@@ -941,22 +941,24 @@ config SCHED_MC
 
 config SCHED_MC_PRIO
 	bool "CPU core priorities scheduler support"
-	depends on SCHED_MC && CPU_SUP_INTEL && X86_INTEL_PSTATE
+	depends on SCHED_MC && CPU_SUP_INTEL
+	select X86_INTEL_PSTATE
+	select CPU_FREQ
 	default y
 	---help---
-	   Intel Turbo Boost Max Technology 3.0 enabled CPUs have a
-	   core ordering determined at manufacturing time, which allows
-	   certain cores to reach higher turbo frequencies (when running
-	   single threaded workloads) than others.
+	  Intel Turbo Boost Max Technology 3.0 enabled CPUs have a
+	  core ordering determined at manufacturing time, which allows
+	  certain cores to reach higher turbo frequencies (when running
+	  single threaded workloads) than others.
 
-	   Enabling this kernel feature teaches the scheduler about
-	   the TBM3 (aka ITMT) priority order of the CPU cores and adjusts the
-	   scheduler's CPU selection logic accordingly, so that higher
-	   overall system performance can be achieved.
+	  Enabling this kernel feature teaches the scheduler about
+	  the TBM3 (aka ITMT) priority order of the CPU cores and adjusts the
+	  scheduler's CPU selection logic accordingly, so that higher
+	  overall system performance can be achieved.
 
-	   This feature will have no effect on CPUs without this feature.
+	  This feature will have no effect on CPUs without this feature.
 
-	   If unsure say Y here.
+	  If unsure say Y here.
 
 source "kernel/Kconfig.preempt"
 
--
To unsubscribe from this list: send the line "unsubscribe linux-tip-commits" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Linux Stable Commits]     [Linux Stable Kernel]     [Linux Kernel]     [Linux USB Devel]     [Linux Video &Media]     [Linux Audio Users]     [Yosemite News]     [Linux SCSI]

  Powered by Linux