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 [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
[Index of Archives]
[Kernel Newbies]
[Netfilter]
[Bugtraq]
[Photo]
[Stuff]
[Gimp]
[Yosemite News]
[MIPS Linux]
[ARM Linux]
[Linux Security]
[Linux RAID]
[Video 4 Linux]
[Linux for the blind]
[Linux Resources]