Re: 2.4.10pre12aa1 [PATCH]

Dipankar Sarma (dipankar@in.ibm.com)
Thu, 20 Sep 2001 14:58:54 +0530


In article <20010920094622.A729@athlon.random> Andrea Arcangeli wrote:

Hi Andrea,

Patch for 2.4.10pre12aa1 -

diff -uN sched.c.bad sched.c
--- sched.c.bad Thu Sep 20 14:34:43 2001
+++ sched.c Thu Sep 20 14:34:54 2001
@@ -1124,7 +1124,7 @@
int i;

// Subtract non-idle processes running on other CPUs.
- for (i = 0; i < smp_num_cpus; i++)
+ for (i = 0; i < smp_num_cpus; i++) {
if (cpu_curr(i) != logical_idle_task(i))
nr_pending--;
}

Thanks
Dipankar

-- 
Dipankar Sarma  <dipankar@in.ibm.com> Project: http://lse.sourceforge.net
Linux Technology Center, IBM Software Lab, Bangalore, India.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/