aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPeter Zijlstra <a.p.zijlstra@chello.nl>2009-09-07 12:32:32 -0400
committerIngo Molnar <mingo@elte.hu>2009-09-07 16:00:17 -0400
commita8fae3ec5f118dc92517dcbed3ecf69ddb641d0f (patch)
treee01715204f2a6da7277cb4d397449df9fcf0ea6b
parent71a29aa7b600595d0ef373ea605ac656876d1f2f (diff)
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. Signed-off-by: Peter Zijlstra <a.p.zijlstra@chello.nl> LKML-Reference: <new-submission> Signed-off-by: Ingo Molnar <mingo@elte.hu>
-rw-r--r--arch/x86/include/asm/topology.h2
-rw-r--r--include/linux/topology.h6
2 files changed, 4 insertions, 4 deletions
diff --git a/arch/x86/include/asm/topology.h b/arch/x86/include/asm/topology.h
index ef7bc7fc2528..26d06e052a18 100644
--- a/arch/x86/include/asm/topology.h
+++ b/arch/x86/include/asm/topology.h
@@ -152,7 +152,7 @@ extern unsigned long node_remap_size[];
152 | 0*SD_POWERSAVINGS_BALANCE \ 152 | 0*SD_POWERSAVINGS_BALANCE \
153 | 0*SD_SHARE_PKG_RESOURCES \ 153 | 0*SD_SHARE_PKG_RESOURCES \
154 | 1*SD_SERIALIZE \ 154 | 1*SD_SERIALIZE \
155 | 0*SD_WAKE_IDLE_FAR \ 155 | 1*SD_WAKE_IDLE_FAR \
156 | 0*SD_PREFER_SIBLING \ 156 | 0*SD_PREFER_SIBLING \
157 , \ 157 , \
158 .last_balance = jiffies, \ 158 .last_balance = jiffies, \
diff --git a/include/linux/topology.h b/include/linux/topology.h
index 66774fddec9b..85e8cf7d393c 100644
--- a/include/linux/topology.h
+++ b/include/linux/topology.h
@@ -129,7 +129,7 @@ int arch_update_cpu_topology(void);
129 | 1*SD_BALANCE_NEWIDLE \ 129 | 1*SD_BALANCE_NEWIDLE \
130 | 1*SD_BALANCE_EXEC \ 130 | 1*SD_BALANCE_EXEC \
131 | 1*SD_BALANCE_FORK \ 131 | 1*SD_BALANCE_FORK \
132 | 0*SD_WAKE_IDLE \ 132 | 1*SD_WAKE_IDLE \
133 | 1*SD_WAKE_AFFINE \ 133 | 1*SD_WAKE_AFFINE \
134 | 1*SD_WAKE_BALANCE \ 134 | 1*SD_WAKE_BALANCE \
135 | 0*SD_SHARE_CPUPOWER \ 135 | 0*SD_SHARE_CPUPOWER \
@@ -163,7 +163,7 @@ int arch_update_cpu_topology(void);
163 | 1*SD_BALANCE_NEWIDLE \ 163 | 1*SD_BALANCE_NEWIDLE \
164 | 1*SD_BALANCE_EXEC \ 164 | 1*SD_BALANCE_EXEC \
165 | 1*SD_BALANCE_FORK \ 165 | 1*SD_BALANCE_FORK \
166 | 0*SD_WAKE_IDLE \ 166 | 1*SD_WAKE_IDLE \
167 | 0*SD_WAKE_AFFINE \ 167 | 0*SD_WAKE_AFFINE \
168 | 1*SD_WAKE_BALANCE \ 168 | 1*SD_WAKE_BALANCE \
169 | 0*SD_SHARE_CPUPOWER \ 169 | 0*SD_SHARE_CPUPOWER \
@@ -198,7 +198,7 @@ int arch_update_cpu_topology(void);
198 | 0*SD_POWERSAVINGS_BALANCE \ 198 | 0*SD_POWERSAVINGS_BALANCE \
199 | 0*SD_SHARE_PKG_RESOURCES \ 199 | 0*SD_SHARE_PKG_RESOURCES \
200 | 1*SD_SERIALIZE \ 200 | 1*SD_SERIALIZE \
201 | 0*SD_WAKE_IDLE_FAR \ 201 | 1*SD_WAKE_IDLE_FAR \
202 | 0*SD_PREFER_SIBLING \ 202 | 0*SD_PREFER_SIBLING \
203 , \ 203 , \
204 .last_balance = jiffies, \ 204 .last_balance = jiffies, \