Commit 0298ac9c authored by Nick Piggin's avatar Nick Piggin Committed by Linus Torvalds

[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: default avatarNick Piggin <nickpiggin@yahoo.com.au>
Signed-off-by: default avatarAndrew Morton <akpm@osdl.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@osdl.org>
parent 8dac7706
...@@ -499,7 +499,8 @@ extern void cpu_attach_domain(struct sched_domain *sd, int cpu); ...@@ -499,7 +499,8 @@ extern void cpu_attach_domain(struct sched_domain *sd, int cpu);
.cache_hot_time = 0, \ .cache_hot_time = 0, \
.cache_nice_tries = 0, \ .cache_nice_tries = 0, \
.per_cpu_gain = 25, \ .per_cpu_gain = 25, \
.flags = SD_BALANCE_NEWIDLE \ .flags = SD_LOAD_BALANCE \
| SD_BALANCE_NEWIDLE \
| SD_BALANCE_EXEC \ | SD_BALANCE_EXEC \
| SD_WAKE_AFFINE \ | SD_WAKE_AFFINE \
| SD_WAKE_IDLE \ | SD_WAKE_IDLE \
...@@ -522,7 +523,8 @@ extern void cpu_attach_domain(struct sched_domain *sd, int cpu); ...@@ -522,7 +523,8 @@ extern void cpu_attach_domain(struct sched_domain *sd, int cpu);
.cache_hot_time = (5*1000/2), \ .cache_hot_time = (5*1000/2), \
.cache_nice_tries = 1, \ .cache_nice_tries = 1, \
.per_cpu_gain = 100, \ .per_cpu_gain = 100, \
.flags = SD_BALANCE_NEWIDLE \ .flags = SD_LOAD_BALANCE \
| SD_BALANCE_NEWIDLE \
| SD_BALANCE_EXEC \ | SD_BALANCE_EXEC \
| SD_WAKE_AFFINE \ | SD_WAKE_AFFINE \
| SD_WAKE_BALANCE, \ | SD_WAKE_BALANCE, \
...@@ -543,7 +545,8 @@ extern void cpu_attach_domain(struct sched_domain *sd, int cpu); ...@@ -543,7 +545,8 @@ extern void cpu_attach_domain(struct sched_domain *sd, int cpu);
.cache_hot_time = (10*1000), \ .cache_hot_time = (10*1000), \
.cache_nice_tries = 1, \ .cache_nice_tries = 1, \
.per_cpu_gain = 100, \ .per_cpu_gain = 100, \
.flags = SD_BALANCE_EXEC \ .flags = SD_LOAD_BALANCE \
| SD_BALANCE_EXEC \
| SD_WAKE_BALANCE, \ | SD_WAKE_BALANCE, \
.last_balance = jiffies, \ .last_balance = jiffies, \
.balance_interval = 1, \ .balance_interval = 1, \
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment