Re: [patch] clockevents: Reinstate the per cpu tick skew

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, 2011-12-28 at 09:22 +0100, Mike Galbraith wrote:

> (Hm, wonder if nohz is usable now... nope.  Tell nohz that isolated
> cores don't play balancer again, maybe it'll work now)

Yup, worked.  60 core jitter test is approaching single digit.  Woohoo.

---
 kernel/sched_fair.c |    4 ++++
 1 file changed, 4 insertions(+)

--- a/kernel/sched_fair.c
+++ b/kernel/sched_fair.c
@@ -4517,6 +4517,10 @@ void select_nohz_load_balancer(int stop_
 {
 	int cpu = smp_processor_id();
 
+	/* Isolated cores do not play */
+	if (!cpu_rq(cpu)->sd)
+		return;
+
 	if (stop_tick) {
 		if (!cpu_active(cpu)) {
 			if (atomic_read(&nohz.load_balancer) != cpu)



--
To unsubscribe from this list: send the line "unsubscribe linux-rt-users" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [RT Stable]     [Kernel Newbies]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux