public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] - Initialize sched domain table
@ 2004-07-23  1:02 Jack Steiner
  2004-07-23  3:20 ` Nick Piggin
  2004-07-23  5:39 ` Ingo Molnar
  0 siblings, 2 replies; 3+ messages in thread
From: Jack Steiner @ 2004-07-23  1:02 UTC (permalink / raw)
  To: mingo; +Cc: linux-ia64, linux-kernel

Here is a trivial patch that is required to boot the latest 2.6.7 tree 
on the SGI 512p system.

	Initial 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>



Index: linux/kernel/sched.c
===================================================================
--- linux.orig/kernel/sched.c
+++ linux/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;
-- 
Thanks

Jack Steiner (steiner@sgi.com)          651-683-5302
Principal Engineer                      SGI - Silicon Graphics, Inc.



^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH] - Initialize sched domain table
  2004-07-23  1:02 [PATCH] - Initialize sched domain table Jack Steiner
@ 2004-07-23  3:20 ` Nick Piggin
  2004-07-23  5:39 ` Ingo Molnar
  1 sibling, 0 replies; 3+ messages in thread
From: Nick Piggin @ 2004-07-23  3:20 UTC (permalink / raw)
  To: Jack Steiner, Andrew Morton; +Cc: mingo, linux-ia64, linux-kernel

Jack Steiner wrote:
> Here is a trivial patch that is required to boot the latest 2.6.7 tree 
> on the SGI 512p system.
> 
> 	Initial 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>
> 

Thanks. Andrew please apply.

> 
> 
> Index: linux/kernel/sched.c
> ===================================================================
> --- linux.orig/kernel/sched.c
> +++ linux/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;


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH] - Initialize sched domain table
  2004-07-23  1:02 [PATCH] - Initialize sched domain table Jack Steiner
  2004-07-23  3:20 ` Nick Piggin
@ 2004-07-23  5:39 ` Ingo Molnar
  1 sibling, 0 replies; 3+ messages in thread
From: Ingo Molnar @ 2004-07-23  5:39 UTC (permalink / raw)
  To: Jack Steiner; +Cc: linux-ia64, linux-kernel, Andrew Morton


* Jack Steiner <steiner@sgi.com> wrote:

> Here is a trivial patch that is required to boot the latest 2.6.7 tree 
> on the SGI 512p system.
> 
> 	Initial 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>

looks good.

Signed-off-by: Ingo Molnar <mingo@elte.hu>

	Ingo

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2004-07-23  5:37 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-07-23  1:02 [PATCH] - Initialize sched domain table Jack Steiner
2004-07-23  3:20 ` Nick Piggin
2004-07-23  5:39 ` Ingo Molnar

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox