Skip to content

Commit 8bf7b3b

Browse files
Song Shuaipalmer-dabbelt
authored andcommitted
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>
1 parent c4b52d8 commit 8bf7b3b

1 file changed

Lines changed: 8 additions & 0 deletions

File tree

arch/riscv/Kconfig

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -322,6 +322,14 @@ config SMP
322322

323323
If you don't know what to do here, say N.
324324

325+
config SCHED_MC
326+
bool "Multi-core scheduler support"
327+
depends on SMP
328+
help
329+
Multi-core scheduler support improves the CPU scheduler's decision
330+
making when dealing with multi-core CPU chips at a cost of slightly
331+
increased overhead in some places. If unsure say N here.
332+
325333
config NR_CPUS
326334
int "Maximum number of CPUs (2-512)"
327335
depends on SMP

0 commit comments

Comments
 (0)