[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20061219201247.GA12648@elte.hu>
Date: Tue, 19 Dec 2006 21:12:48 +0100
From: Ingo Molnar <mingo@...e.hu>
To: "Siddha, Suresh B" <suresh.b.siddha@...el.com>
Cc: vatsa@...ibm.com, clameter@....com, tglx@...utronix.de,
arjan@...ux.intel.com, linux-kernel@...r.kernel.org
Subject: Re: [RFC] Patch: dynticks: idle load balancing
find below another bugfix for the dynticks-sched patch. (this bug caused
crashed under a stresstest)
Ingo
---
kernel/sched.c | 2 ++
1 file changed, 2 insertions(+)
Index: linux/kernel/sched.c
===================================================================
--- linux.orig/kernel/sched.c
+++ linux/kernel/sched.c
@@ -3015,6 +3015,8 @@ static void run_rebalance_domains(struct
restart:
if (idle_cpu(local_cpu) && notick.load_balancer == local_cpu) {
this_cpu = first_cpu(cpus);
+ if (unlikely(this_cpu >= NR_CPUS))
+ return;
this_rq = cpu_rq(this_cpu);
cpu_clear(this_cpu, cpus);
}
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists