diff options
author | Peter Zijlstra <a.p.zijlstra@chello.nl> | 2009-09-15 09:22:03 -0400 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2009-09-15 10:51:23 -0400 |
commit | b8a543ea5a5896830a9969bacfd047f9d15940b2 (patch) | |
tree | 45bae76596f2a51f3cc79d55c9c4e0da064a7a2c /include | |
parent | 0ec9fab3d186d9cbb00c0f694d4a260d07c198d9 (diff) |
sched: Reduce forkexec_idx
If we're looking to place a new task, we might as well find the
idlest position _now_, not 1 tick ago.
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')
-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 4298745615a5..936ab2b37683 100644 --- a/include/linux/topology.h +++ b/include/linux/topology.h | |||
@@ -121,7 +121,7 @@ int arch_update_cpu_topology(void); | |||
121 | .cache_nice_tries = 1, \ | 121 | .cache_nice_tries = 1, \ |
122 | .busy_idx = 2, \ | 122 | .busy_idx = 2, \ |
123 | .wake_idx = 0, \ | 123 | .wake_idx = 0, \ |
124 | .forkexec_idx = 1, \ | 124 | .forkexec_idx = 0, \ |
125 | \ | 125 | \ |
126 | .flags = 1*SD_LOAD_BALANCE \ | 126 | .flags = 1*SD_LOAD_BALANCE \ |
127 | | 1*SD_BALANCE_NEWIDLE \ | 127 | | 1*SD_BALANCE_NEWIDLE \ |
@@ -153,7 +153,7 @@ int arch_update_cpu_topology(void); | |||
153 | .idle_idx = 1, \ | 153 | .idle_idx = 1, \ |
154 | .newidle_idx = 0, \ | 154 | .newidle_idx = 0, \ |
155 | .wake_idx = 0, \ | 155 | .wake_idx = 0, \ |
156 | .forkexec_idx = 1, \ | 156 | .forkexec_idx = 0, \ |
157 | \ | 157 | \ |
158 | .flags = 1*SD_LOAD_BALANCE \ | 158 | .flags = 1*SD_LOAD_BALANCE \ |
159 | | 1*SD_BALANCE_NEWIDLE \ | 159 | | 1*SD_BALANCE_NEWIDLE \ |