arm64: Add scheduler multicore and SMT Kconfig options
authorMark Brown <broonie@linaro.org>
Fri, 13 Dec 2013 10:52:45 +0000 (10:52 +0000)
committerMark Brown <broonie@linaro.org>
Fri, 13 Dec 2013 10:52:57 +0000 (10:52 +0000)
Enable additional use of additional scheduler features with the topology
information.

Reported-by: Hanjun Guo <hanjun.guo@linaro.org>
Signed-off-by: Mark Brown <broonie@linaro.org>
arch/arm64/Kconfig

index 43c9336eb67937075ca1c5c938198f15af66d336..2dc43c58923d4941e1e6512447478105ecb4ca2b 100644 (file)
@@ -152,6 +152,22 @@ config ARM_CPU_TOPOLOGY
          Support CPU topology definition, based on configuration
          provided by the firmware.
 
+config SCHED_MC
+       bool "Multi-core scheduler support"
+       depends on ARM_CPU_TOPOLOGY
+       help
+         Multi-core scheduler support improves the CPU scheduler's decision
+         making when dealing with multi-core CPU chips at a cost of slightly
+         increased overhead in some places. If unsure say N here.
+
+config SCHED_SMT
+       bool "SMT scheduler support"
+       depends on ARM_CPU_TOPOLOGY
+       help
+         Improves the CPU scheduler's decision making when dealing with
+         MultiThreading at a cost of slightly increased overhead in some
+         places. If unsure say N here.
+
 config NR_CPUS
        int "Maximum number of CPUs (2-32)"
        range 2 32