Re: CPU scheduler weirdness?

From: Marton Balint
Date: Fri Sep 04 2009 - 11:31:38 EST

On Fri, 4 Sep 2009, Ingo Molnar wrote:

* Peter Zijlstra <peterz@xxxxxxxxxxxxx> wrote:

On Thu, 2009-09-03 at 23:57 +0200, Marton Balint wrote:
sched: fine-tune SD_MC_INIT:

If I add again the removed SD_BALANCE_NEWIDLE to flags, then everything works
as expected. So what would be the correct fix for this bug? Revert the patch?
Or just add SD_BALANCE_NEWIDLE to flags?

Ingo, Peter, could any of you guys have a look at the commit
that caused this bug? Is it OK to revert it? Or a fix somewhere
else is necessary? I'm pushing this because I hope that this bug
will get fixed in the upcoming stable kernel...

I'm fine with re-adding SD_BALANCE_IDLE and SD_WAKE_IDLE on
SMT/MC/CPU levels.


Ok, agreed. I have re-benchmarked a couple of key workload and it
seems like a good change, on top of your load-balancer fixes.

Marton, could you please double check the latest -tip tree:

Does it resolve the problem?

Yes it does, thanks.

To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at
Please read the FAQ at