summaryrefslogtreecommitdiff
path: root/arch/riscv/Kconfig
diff options
context:
space:
mode:
authorSong Shuai <suagrfillet@gmail.com>2023-03-10 14:03:36 +0300
committerPalmer Dabbelt <palmer@rivosinc.com>2023-04-19 06:35:43 +0300
commit8bf7b3b6676270c0ed3e4968608e1e052ecc8606 (patch)
treeb3b5f4ba690daf415d572d46ac17668676930be2 /arch/riscv/Kconfig
parentc4b52d8b6c1de1e6359bef2d1394d5917940b3dc (diff)
downloadlinux-8bf7b3b6676270c0ed3e4968608e1e052ecc8606.tar.xz
riscv: Kconfig: enable SCHED_MC kconfig
RISC-V now builds the sched domain based on the simple possible map. Enable SCHED_MC to make the building based on cpu_coregroup_mask() which also takes care of the NUMA and cores with LLC. Signed-off-by: Song Shuai <suagrfillet@gmail.com> Acked-by: Conor Dooley <conor.dooley@microchip.com> Link: https://lore.kernel.org/r/20230310110336.970985-1-suagrfillet@gmail.com Signed-off-by: Palmer Dabbelt <palmer@rivosinc.com>
Diffstat (limited to 'arch/riscv/Kconfig')
-rw-r--r--arch/riscv/Kconfig8
1 files changed, 8 insertions, 0 deletions
diff --git a/arch/riscv/Kconfig b/arch/riscv/Kconfig
index aaa11fb48b86..2db7b1b1b85c 100644
--- a/arch/riscv/Kconfig
+++ b/arch/riscv/Kconfig
@@ -322,6 +322,14 @@ config SMP
If you don't know what to do here, say N.
+config SCHED_MC
+ bool "Multi-core scheduler support"
+ depends on SMP
+ 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 NR_CPUS
int "Maximum number of CPUs (2-512)"
depends on SMP