aboutsummaryrefslogtreecommitdiffstats
path: root/arch/mips/Kconfig
diff options
context:
space:
mode:
Diffstat (limited to 'arch/mips/Kconfig')
-rw-r--r--arch/mips/Kconfig14
1 files changed, 14 insertions, 0 deletions
diff --git a/arch/mips/Kconfig b/arch/mips/Kconfig
index 11bc17ce0ebf..d5a89f3fdfd3 100644
--- a/arch/mips/Kconfig
+++ b/arch/mips/Kconfig
@@ -1442,6 +1442,7 @@ config MIPS_MT_SMP
1442 select MIPS_MT 1442 select MIPS_MT
1443 select NR_CPUS_DEFAULT_2 1443 select NR_CPUS_DEFAULT_2
1444 select SMP 1444 select SMP
1445 select SYS_SUPPORTS_SCHED_SMT if SMP
1445 select SYS_SUPPORTS_SMP 1446 select SYS_SUPPORTS_SMP
1446 help 1447 help
1447 This is a kernel model which is also known a VSMP or lately 1448 This is a kernel model which is also known a VSMP or lately
@@ -1468,6 +1469,19 @@ endchoice
1468config MIPS_MT 1469config MIPS_MT
1469 bool 1470 bool
1470 1471
1472config SCHED_SMT
1473 bool "SMT (multithreading) scheduler support"
1474 depends on SYS_SUPPORTS_SCHED_SMT
1475 default n
1476 help
1477 SMT scheduler support improves the CPU scheduler's decision making
1478 when dealing with MIPS MT enabled cores at a cost of slightly
1479 increased overhead in some places. If unsure say N here.
1480
1481config SYS_SUPPORTS_SCHED_SMT
1482 bool
1483
1484
1471config SYS_SUPPORTS_MULTITHREADING 1485config SYS_SUPPORTS_MULTITHREADING
1472 bool 1486 bool
1473 1487