<html><head><meta name="color-scheme" content="light dark"></head><body><pre style="word-wrap: break-word; white-space: pre-wrap;">
From: Nick Piggin &lt;nickpiggin@yahoo.com.au&gt;

Remove the special casing for idle CPU balancing.  Things like this are
hurting for example on SMT, where are single sibling being idle doesn't really
warrant a really aggressive pull over the NUMA domain, for example.

Signed-off-by: Nick Piggin &lt;nickpiggin@yahoo.com.au&gt;
Signed-off-by: Andrew Morton &lt;akpm@osdl.org&gt;
---

 25-akpm/kernel/sched.c |    6 ------
 1 files changed, 6 deletions(-)

diff -puN kernel/sched.c~sched2-less-aggressive-idle-balancing kernel/sched.c
--- 25/kernel/sched.c~sched2-less-aggressive-idle-balancing	2005-03-17 23:47:59.000000000 -0800
+++ 25-akpm/kernel/sched.c	2005-03-17 23:47:59.000000000 -0800
@@ -1878,15 +1878,9 @@ nextgroup:
 
 	/* Get rid of the scaling factor, rounding down as we divide */
 	*imbalance = *imbalance / SCHED_LOAD_SCALE;
-
 	return busiest;
 
 out_balanced:
-	if (busiest &amp;&amp; (idle == NEWLY_IDLE ||
-			(idle == SCHED_IDLE &amp;&amp; max_load &gt; SCHED_LOAD_SCALE)) ) {
-		*imbalance = 1;
-		return busiest;
-	}
 
 	*imbalance = 0;
 	return NULL;
_
</pre></body></html>