aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorIngo Molnar <mingo@elte.hu>2007-10-15 11:00:19 -0400
committerIngo Molnar <mingo@elte.hu>2007-10-15 11:00:19 -0400
commit95dbb421d12fdd9796ed153853daf3679809274f (patch)
tree75ef5102937a206b687bfa3948850921033e700b
parent6bc1665ba71de0f207391b01b187b21b2619c15c (diff)
sched: reintroduce topology.h tunings
reintroduce the 2.6.22 topology.h tunings again - they result in slightly better balancing. Signed-off-by: Ingo Molnar <mingo@elte.hu>
-rw-r--r--include/linux/topology.h12
1 files changed, 5 insertions, 7 deletions
diff --git a/include/linux/topology.h b/include/linux/topology.h
index 525d437b1253..865a63e65578 100644
--- a/include/linux/topology.h
+++ b/include/linux/topology.h
@@ -98,7 +98,7 @@
98 .cache_nice_tries = 0, \ 98 .cache_nice_tries = 0, \
99 .busy_idx = 0, \ 99 .busy_idx = 0, \
100 .idle_idx = 0, \ 100 .idle_idx = 0, \
101 .newidle_idx = 0, \ 101 .newidle_idx = 1, \
102 .wake_idx = 0, \ 102 .wake_idx = 0, \
103 .forkexec_idx = 0, \ 103 .forkexec_idx = 0, \
104 .flags = SD_LOAD_BALANCE \ 104 .flags = SD_LOAD_BALANCE \
@@ -128,15 +128,14 @@
128 .imbalance_pct = 125, \ 128 .imbalance_pct = 125, \
129 .cache_nice_tries = 1, \ 129 .cache_nice_tries = 1, \
130 .busy_idx = 2, \ 130 .busy_idx = 2, \
131 .idle_idx = 0, \ 131 .idle_idx = 1, \
132 .newidle_idx = 0, \ 132 .newidle_idx = 2, \
133 .wake_idx = 1, \ 133 .wake_idx = 1, \
134 .forkexec_idx = 1, \ 134 .forkexec_idx = 1, \
135 .flags = SD_LOAD_BALANCE \ 135 .flags = SD_LOAD_BALANCE \
136 | SD_BALANCE_NEWIDLE \ 136 | SD_BALANCE_NEWIDLE \
137 | SD_BALANCE_EXEC \ 137 | SD_BALANCE_EXEC \
138 | SD_WAKE_AFFINE \ 138 | SD_WAKE_AFFINE \
139 | SD_WAKE_IDLE \
140 | SD_SHARE_PKG_RESOURCES\ 139 | SD_SHARE_PKG_RESOURCES\
141 | BALANCE_FOR_MC_POWER, \ 140 | BALANCE_FOR_MC_POWER, \
142 .last_balance = jiffies, \ 141 .last_balance = jiffies, \
@@ -159,15 +158,14 @@
159 .imbalance_pct = 125, \ 158 .imbalance_pct = 125, \
160 .cache_nice_tries = 1, \ 159 .cache_nice_tries = 1, \
161 .busy_idx = 2, \ 160 .busy_idx = 2, \
162 .idle_idx = 0, \ 161 .idle_idx = 1, \
163 .newidle_idx = 0, \ 162 .newidle_idx = 2, \
164 .wake_idx = 1, \ 163 .wake_idx = 1, \
165 .forkexec_idx = 1, \ 164 .forkexec_idx = 1, \
166 .flags = SD_LOAD_BALANCE \ 165 .flags = SD_LOAD_BALANCE \
167 | SD_BALANCE_NEWIDLE \ 166 | SD_BALANCE_NEWIDLE \
168 | SD_BALANCE_EXEC \ 167 | SD_BALANCE_EXEC \
169 | SD_WAKE_AFFINE \ 168 | SD_WAKE_AFFINE \
170 | SD_WAKE_IDLE \
171 | BALANCE_FOR_PKG_POWER,\ 169 | BALANCE_FOR_PKG_POWER,\
172 .last_balance = jiffies, \ 170 .last_balance = jiffies, \
173 .balance_interval = 1, \ 171 .balance_interval = 1, \