Skip to contentSkip to conversation

sched: enable SD_WAKE_IDLE

tip:sched/balancing tip-bot for Peter Zijlstra 1 participant 1 message Sep 7, 2009 x86

lore
Share & tools
lore
#0 lore raw
Commit-ID:  a8fae3ec5f118dc92517dcbed3ecf69ddb641d0f
Gitweb:     http://git.kernel.org/tip/a8fae3ec5f118dc92517dcbed3ecf69ddb641d0f
Author:     Peter Zijlstra <[email protected]>
AuthorDate: Mon, 7 Sep 2009 18:32:32 +0200
Committer:  Ingo Molnar <[email protected]>
CommitDate: Mon, 7 Sep 2009 22:00:17 +0200

sched: enable SD_WAKE_IDLE

Now that SD_WAKE_IDLE doesn't make pipe-test suck anymore, enable it by default for MC, CPU and NUMA domains.

LKML-Reference: <new-submission>

---
 arch/x86/include/asm/topology.h |    2 +-
 include/linux/topology.h        |    6 +++---
 2 files changed, 4 insertions(+), 4 deletions(-)
arch/x86/include/asm/topology.h +1 -1
index ef7bc7f..26d06e0 100644
@@ -152,7 +152,7 @@ extern unsigned long node_remap_size[];
 				| 0*SD_POWERSAVINGS_BALANCE		\
 				| 0*SD_SHARE_PKG_RESOURCES		\
 				| 1*SD_SERIALIZE			\
-				| 0*SD_WAKE_IDLE_FAR			\
+				| 1*SD_WAKE_IDLE_FAR			\
 				| 0*SD_PREFER_SIBLING			\
 				,					\
 	.last_balance		= jiffies,				\
include/linux/topology.h +3 -3
index 66774fd..85e8cf7 100644
@@ -129,7 +129,7 @@ int arch_update_cpu_topology(void);
 				| 1*SD_BALANCE_NEWIDLE			\
 				| 1*SD_BALANCE_EXEC			\
 				| 1*SD_BALANCE_FORK			\
-				| 0*SD_WAKE_IDLE			\
+				| 1*SD_WAKE_IDLE			\
 				| 1*SD_WAKE_AFFINE			\
 				| 1*SD_WAKE_BALANCE			\
 				| 0*SD_SHARE_CPUPOWER			\
@@ -163,7 +163,7 @@ int arch_update_cpu_topology(void);
 				| 1*SD_BALANCE_NEWIDLE			\
 				| 1*SD_BALANCE_EXEC			\
 				| 1*SD_BALANCE_FORK			\
-				| 0*SD_WAKE_IDLE			\
+				| 1*SD_WAKE_IDLE			\
 				| 0*SD_WAKE_AFFINE			\
 				| 1*SD_WAKE_BALANCE			\
 				| 0*SD_SHARE_CPUPOWER			\
@@ -198,7 +198,7 @@ int arch_update_cpu_topology(void);
 				| 0*SD_POWERSAVINGS_BALANCE		\
 				| 0*SD_SHARE_PKG_RESOURCES		\
 				| 1*SD_SERIALIZE			\
-				| 0*SD_WAKE_IDLE_FAR			\
+				| 1*SD_WAKE_IDLE_FAR			\
 				| 0*SD_PREFER_SIBLING			\
 				,					\
 	.last_balance		= jiffies,				\