summaryrefslogtreecommitdiff
path: root/kernel
diff options
context:
space:
mode:
authorJack Steiner <steiner@sgi.com>2004-07-28 08:57:15 -0700
committerLinus Torvalds <torvalds@ppc970.osdl.org>2004-07-28 08:57:15 -0700
commit396af5c123b282c532f164b9bf90a1c18fa07756 (patch)
tree7dbb8dc239ab686281703c9851237dfa25176672 /kernel
parent536c748e52a74d36dc98b6ee461295b43ded4f05 (diff)
[PATCH] sched: initialize sched domain table
Here is a trivial patch that is required to boot the latest 2.6.7 tree on the SGI 512p system. Initialize the busy_factor in the sched_domain_init table. Otherwise, booting hangs doing excessive load balance operations. Signed-off-by: Jack Steiner <steiner@sgi.com> Signed-off-by: Ingo Molnar <mingo@elte.hu> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'kernel')
-rw-r--r--kernel/sched.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/kernel/sched.c b/kernel/sched.c
index 205a81d64b20..c279ba227145 100644
--- a/kernel/sched.c
+++ b/kernel/sched.c
@@ -3922,6 +3922,7 @@ void __init sched_init(void)
sched_domain_init.groups = &sched_group_init;
sched_domain_init.last_balance = jiffies;
sched_domain_init.balance_interval = INT_MAX; /* Don't balance */
+ sched_domain_init.busy_factor = 1;
memset(&sched_group_init, 0, sizeof(struct sched_group));
sched_group_init.cpumask = CPU_MASK_ALL;