lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<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

Powered by Openwall GNU/*/Linux Powered by OpenVZ