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/sh/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/sh/include/asm/topology.h')
-rw-r--r-- | arch/sh/include/asm/topology.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/sh/include/asm/topology.h b/arch/sh/include/asm/topology.h index c8436771e31..a8cc564b703 100644 --- a/arch/sh/include/asm/topology.h +++ b/arch/sh/include/asm/topology.h | |||
@@ -17,7 +17,7 @@ | |||
17 | .idle_idx = 2, \ | 17 | .idle_idx = 2, \ |
18 | .newidle_idx = 0, \ | 18 | .newidle_idx = 0, \ |
19 | .wake_idx = 0, \ | 19 | .wake_idx = 0, \ |
20 | .forkexec_idx = 1, \ | 20 | .forkexec_idx = 0, \ |
21 | .flags = SD_LOAD_BALANCE \ | 21 | .flags = SD_LOAD_BALANCE \ |
22 | | SD_BALANCE_FORK \ | 22 | | SD_BALANCE_FORK \ |
23 | | SD_BALANCE_EXEC \ | 23 | | SD_BALANCE_EXEC \ |