summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorPeter Zijlstra <a.p.zijlstra@chello.nl>2009-09-15 15:22:03 +0200
committerIngo Molnar <mingo@elte.hu>2009-09-15 16:51:23 +0200
commitb8a543ea5a5896830a9969bacfd047f9d15940b2 (patch)
tree45bae76596f2a51f3cc79d55c9c4e0da064a7a2c /include
parent0ec9fab3d186d9cbb00c0f694d4a260d07c198d9 (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.h4
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);
.cache_nice_tries = 1, \
.busy_idx = 2, \
.wake_idx = 0, \
- .forkexec_idx = 1, \
+ .forkexec_idx = 0, \
\
.flags = 1*SD_LOAD_BALANCE \
| 1*SD_BALANCE_NEWIDLE \
@@ -153,7 +153,7 @@ int arch_update_cpu_topology(void);
.idle_idx = 1, \
.newidle_idx = 0, \
.wake_idx = 0, \
- .forkexec_idx = 1, \
+ .forkexec_idx = 0, \
\
.flags = 1*SD_LOAD_BALANCE \
| 1*SD_BALANCE_NEWIDLE \