diff options
| author | Nick Piggin <nickpiggin@yahoo.com.au> | 2004-10-18 09:10:13 -0700 |
|---|---|---|
| committer | Linus Torvalds <torvalds@ppc970.osdl.org> | 2004-10-18 09:10:13 -0700 |
| commit | 0298ac9c9b2bab88cd64d0ab6f60044c841ff746 (patch) | |
| tree | 352fc00fd102439c5bc3134ae8d7769e2bfd5ede /include/linux | |
| parent | 8dac7706958cbaff568685bba0156380b6131b22 (diff) | |
[PATCH] sched: enable SD_LOAD_BALANCE
Actually turn on SD_LOAD_BALANCE for the regular domains. Introduced by
5/8 "sched add load balance flag".
Signed-off-by: Nick Piggin <nickpiggin@yahoo.com.au>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'include/linux')
| -rw-r--r-- | include/linux/sched.h | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/include/linux/sched.h b/include/linux/sched.h index 7f6608ed3ce8..0e089c693b81 100644 --- a/include/linux/sched.h +++ b/include/linux/sched.h @@ -499,7 +499,8 @@ extern void cpu_attach_domain(struct sched_domain *sd, int cpu); .cache_hot_time = 0, \ .cache_nice_tries = 0, \ .per_cpu_gain = 25, \ - .flags = SD_BALANCE_NEWIDLE \ + .flags = SD_LOAD_BALANCE \ + | SD_BALANCE_NEWIDLE \ | SD_BALANCE_EXEC \ | SD_WAKE_AFFINE \ | SD_WAKE_IDLE \ @@ -522,7 +523,8 @@ extern void cpu_attach_domain(struct sched_domain *sd, int cpu); .cache_hot_time = (5*1000/2), \ .cache_nice_tries = 1, \ .per_cpu_gain = 100, \ - .flags = SD_BALANCE_NEWIDLE \ + .flags = SD_LOAD_BALANCE \ + | SD_BALANCE_NEWIDLE \ | SD_BALANCE_EXEC \ | SD_WAKE_AFFINE \ | SD_WAKE_BALANCE, \ @@ -543,7 +545,8 @@ extern void cpu_attach_domain(struct sched_domain *sd, int cpu); .cache_hot_time = (10*1000), \ .cache_nice_tries = 1, \ .per_cpu_gain = 100, \ - .flags = SD_BALANCE_EXEC \ + .flags = SD_LOAD_BALANCE \ + | SD_BALANCE_EXEC \ | SD_WAKE_BALANCE, \ .last_balance = jiffies, \ .balance_interval = 1, \ |
