Skip to contentSkip to conversation

Add config SCHED_SMT

PATCH New Siddha, Suresh B 1 participant 1 message Apr 5, 2005

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 Add config SCHED_SMT

Now that we have MC/MT detection patches in, appended patch allows us to configure MT scheduler optimizations. For now, we will this option off by default.

There is some discussion going on lkml about setting up sched-domains which are absolutely needed (like for example, we shouldn't setup SMT domain for non MT processors). Once that patch goes in, we can enable this option by default.

arch/ia64/Kconfig +9 -0
diff -Nru linux-2.6.12-test/arch/ia64/Kconfig linux-2.6.12-test-mc/arch/ia64/Kconfig
@@ -260,6 +260,15 @@
 	  can be controlled through /sys/devices/system/cpu/cpu#.
 	  Say N if you want to disable CPU hotplug.
 
+config SCHED_SMT
+	bool "SMT scheduler support"
+	depends on SMP
+	default off
+	help
+	  Improves the CPU scheduler's decision making when dealing with 
+	  Intel IA64 chips with MultiThreading at a cost of slightly increased 
+	  overhead in some places. If unsure say N here.
+
 config PREEMPT
 	bool "Preemptible Kernel"
         help