diff options
author | Peter Zijlstra <a.p.zijlstra@chello.nl> | 2009-09-03 07:16:51 -0400 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2009-09-15 10:01:07 -0400 |
commit | 78e7ed53c9f42f04f9401ada6f7047db60781676 (patch) | |
tree | 24f45333ce4479b27c96b425c7d09c080a26609f /include/linux/topology.h | |
parent | d7c33c4930f569caf6b2ece597432853c4151a45 (diff) |
sched: Tweak wake_idx
When merging select_task_rq_fair() and sched_balance_self() we lost
the use of wake_idx, restore that and set them to 0 to make wake
balancing more aggressive.
Signed-off-by: Peter Zijlstra <a.p.zijlstra@chello.nl>
LKML-Reference: <new-submission>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'include/linux/topology.h')
-rw-r--r-- | include/linux/topology.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/linux/topology.h b/include/linux/topology.h index 6a8cd15555bb..fef57040a4e2 100644 --- a/include/linux/topology.h +++ b/include/linux/topology.h | |||
@@ -120,7 +120,7 @@ int arch_update_cpu_topology(void); | |||
120 | .imbalance_pct = 125, \ | 120 | .imbalance_pct = 125, \ |
121 | .cache_nice_tries = 1, \ | 121 | .cache_nice_tries = 1, \ |
122 | .busy_idx = 2, \ | 122 | .busy_idx = 2, \ |
123 | .wake_idx = 1, \ | 123 | .wake_idx = 0, \ |
124 | .forkexec_idx = 1, \ | 124 | .forkexec_idx = 1, \ |
125 | \ | 125 | \ |
126 | .flags = 1*SD_LOAD_BALANCE \ | 126 | .flags = 1*SD_LOAD_BALANCE \ |
@@ -152,7 +152,7 @@ int arch_update_cpu_topology(void); | |||
152 | .busy_idx = 2, \ | 152 | .busy_idx = 2, \ |
153 | .idle_idx = 1, \ | 153 | .idle_idx = 1, \ |
154 | .newidle_idx = 2, \ | 154 | .newidle_idx = 2, \ |
155 | .wake_idx = 1, \ | 155 | .wake_idx = 0, \ |
156 | .forkexec_idx = 1, \ | 156 | .forkexec_idx = 1, \ |
157 | \ | 157 | \ |
158 | .flags = 1*SD_LOAD_BALANCE \ | 158 | .flags = 1*SD_LOAD_BALANCE \ |