aboutsummaryrefslogtreecommitdiffstats
path: root/arch/mips/Kconfig
diff options
context:
space:
mode:
authorRalf Baechle <ralf@linux-mips.org>2007-03-02 15:42:04 -0500
committerRalf Baechle <ralf@linux-mips.org>2008-01-29 05:14:57 -0500
commit0ab7aefc4d43a6dee26c891b41ef9c7a67d2379b (patch)
tree4a627b7079979ad43b08cef297b2a6eb78d0a78e /arch/mips/Kconfig
parent92b1e6a64a8d9d5ed3ec8797eed8b36e2164a410 (diff)
[MIPS] MT: Scheduler support for SMT
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
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