diff options
author | Christoph Lameter <clameter@sgi.com> | 2006-12-10 05:20:29 -0500 |
---|---|---|
committer | Linus Torvalds <torvalds@woody.osdl.org> | 2006-12-10 12:55:43 -0500 |
commit | 08c183f31bdbb709f177f6d3110d5f288ea33933 (patch) | |
tree | be7b84c07f3b0bf29473bad2b7b788fa189f948e /include/asm-i386/topology.h | |
parent | 1bd77f2da58e9cdd1f159217887343dadd9af417 (diff) |
[PATCH] sched: add option to serialize load balancing
Large sched domains can be very expensive to scan. Add an option SD_SERIALIZE
to the sched domain flags. If that flag is set then we make sure that no
other such domain is being balanced.
[akpm@osdl.org: build fix]
Signed-off-by: Christoph Lameter <clameter@sgi.com>
Cc: Peter Williams <pwil3058@bigpond.net.au>
Cc: Nick Piggin <nickpiggin@yahoo.com.au>
Cc: Christoph Lameter <clameter@sgi.com>
Cc: "Siddha, Suresh B" <suresh.b.siddha@intel.com>
Cc: "Chen, Kenneth W" <kenneth.w.chen@intel.com>
Acked-by: Ingo Molnar <mingo@elte.hu>
Cc: KAMEZAWA Hiroyuki <kamezawa.hiroyu@jp.fujitsu.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'include/asm-i386/topology.h')
-rw-r--r-- | include/asm-i386/topology.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/asm-i386/topology.h b/include/asm-i386/topology.h index 978d09596130..ac58580ad664 100644 --- a/include/asm-i386/topology.h +++ b/include/asm-i386/topology.h | |||
@@ -89,6 +89,7 @@ static inline int node_to_first_cpu(int node) | |||
89 | .flags = SD_LOAD_BALANCE \ | 89 | .flags = SD_LOAD_BALANCE \ |
90 | | SD_BALANCE_EXEC \ | 90 | | SD_BALANCE_EXEC \ |
91 | | SD_BALANCE_FORK \ | 91 | | SD_BALANCE_FORK \ |
92 | | SD_SERIALIZE \ | ||
92 | | SD_WAKE_BALANCE, \ | 93 | | SD_WAKE_BALANCE, \ |
93 | .last_balance = jiffies, \ | 94 | .last_balance = jiffies, \ |
94 | .balance_interval = 1, \ | 95 | .balance_interval = 1, \ |