aboutsummaryrefslogtreecommitdiffstats
path: root/arch/ia64
diff options
context:
space:
mode:
authorPeter Zijlstra <a.p.zijlstra@chello.nl>2009-09-03 07:16:51 -0400
committerIngo Molnar <mingo@elte.hu>2009-09-15 10:01:07 -0400
commit78e7ed53c9f42f04f9401ada6f7047db60781676 (patch)
tree24f45333ce4479b27c96b425c7d09c080a26609f /arch/ia64
parentd7c33c4930f569caf6b2ece597432853c4151a45 (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 'arch/ia64')
-rw-r--r--arch/ia64/include/asm/topology.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/arch/ia64/include/asm/topology.h b/arch/ia64/include/asm/topology.h
index cf6053b226c3..47f3c51d5e27 100644
--- a/arch/ia64/include/asm/topology.h
+++ b/arch/ia64/include/asm/topology.h
@@ -62,11 +62,12 @@ void build_cpu_to_node_map(void);
62 .busy_idx = 2, \ 62 .busy_idx = 2, \
63 .idle_idx = 1, \ 63 .idle_idx = 1, \
64 .newidle_idx = 2, \ 64 .newidle_idx = 2, \
65 .wake_idx = 1, \ 65 .wake_idx = 0, \
66 .forkexec_idx = 1, \ 66 .forkexec_idx = 1, \
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 \
70 | SD_BALANCE_FORK \
70 | SD_BALANCE_WAKE \ 71 | SD_BALANCE_WAKE \
71 | SD_WAKE_AFFINE, \ 72 | SD_WAKE_AFFINE, \
72 .last_balance = jiffies, \ 73 .last_balance = jiffies, \
@@ -87,7 +88,7 @@ void build_cpu_to_node_map(void);
87 .busy_idx = 3, \ 88 .busy_idx = 3, \
88 .idle_idx = 2, \ 89 .idle_idx = 2, \
89 .newidle_idx = 2, \ 90 .newidle_idx = 2, \
90 .wake_idx = 1, \ 91 .wake_idx = 0, \
91 .forkexec_idx = 1, \ 92 .forkexec_idx = 1, \
92 .flags = SD_LOAD_BALANCE \ 93 .flags = SD_LOAD_BALANCE \
93 | SD_BALANCE_EXEC \ 94 | SD_BALANCE_EXEC \