From: Mark Brown Date: Fri, 13 Dec 2013 10:52:45 +0000 (+0000) Subject: arm64: Add scheduler multicore and SMT Kconfig options X-Git-Tag: firefly_0821_release~3680^2~5^2~4^2~3 X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=d474d10a1a827e0b3402943a62a97d95c0eabf8d;p=firefly-linux-kernel-4.4.55.git arm64: Add scheduler multicore and SMT Kconfig options Enable additional use of additional scheduler features with the topology information. Reported-by: Hanjun Guo Signed-off-by: Mark Brown --- diff --git a/arch/arm64/Kconfig b/arch/arm64/Kconfig index 43c9336eb679..2dc43c58923d 100644 --- a/arch/arm64/Kconfig +++ b/arch/arm64/Kconfig @@ -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