From d474d10a1a827e0b3402943a62a97d95c0eabf8d Mon Sep 17 00:00:00 2001 From: Mark Brown Date: Fri, 13 Dec 2013 10:52:45 +0000 Subject: [PATCH] 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 --- arch/arm64/Kconfig | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) 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 -- 2.34.1