Commit 396af5c1 authored by Jack Steiner's avatar Jack Steiner Committed by Linus Torvalds

[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: default avatarJack Steiner <steiner@sgi.com>
Signed-off-by: default avatarIngo Molnar <mingo@elte.hu>
Signed-off-by: default avatarAndrew Morton <akpm@osdl.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@osdl.org>
parent 536c748e
......@@ -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;
......
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