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 /arch/ia64/include/asm/topology.h | |
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 'arch/ia64/include/asm/topology.h')
-rw-r--r-- | arch/ia64/include/asm/topology.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/ia64/include/asm/topology.h b/arch/ia64/include/asm/topology.h index 42f1673ec83f..569b9dafc78c 100644 --- a/arch/ia64/include/asm/topology.h +++ b/arch/ia64/include/asm/topology.h | |||
@@ -63,7 +63,7 @@ void build_cpu_to_node_map(void); | |||
63 | .idle_idx = 1, \ | 63 | .idle_idx = 1, \ |
64 | .newidle_idx = 0, \ | 64 | .newidle_idx = 0, \ |
65 | .wake_idx = 0, \ | 65 | .wake_idx = 0, \ |
66 | .forkexec_idx = 1, \ | 66 | .forkexec_idx = 0, \ |
67 | .flags = SD_LOAD_BALANCE \ | 67 | .flags = SD_LOAD_BALANCE \ |
68 | | SD_BALANCE_NEWIDLE \ | 68 | | SD_BALANCE_NEWIDLE \ |
69 | | SD_BALANCE_EXEC \ | 69 | | SD_BALANCE_EXEC \ |
@@ -89,7 +89,7 @@ void build_cpu_to_node_map(void); | |||
89 | .idle_idx = 2, \ | 89 | .idle_idx = 2, \ |
90 | .newidle_idx = 0, \ | 90 | .newidle_idx = 0, \ |
91 | .wake_idx = 0, \ | 91 | .wake_idx = 0, \ |
92 | .forkexec_idx = 1, \ | 92 | .forkexec_idx = 0, \ |
93 | .flags = SD_LOAD_BALANCE \ | 93 | .flags = SD_LOAD_BALANCE \ |
94 | | SD_BALANCE_NEWIDLE \ | 94 | | SD_BALANCE_NEWIDLE \ |
95 | | SD_BALANCE_EXEC \ | 95 | | SD_BALANCE_EXEC \ |