Re: [patch] sched: decrease number of load balances

From: Christoph Lameter
Date: Mon Nov 20 2006 - 19:39:43 EST


On Mon, 20 Nov 2006, Siddha, Suresh B wrote:

> + if (local_group && balance_cpu != this_cpu && balance) {
^^^^^

This would need to be *balance right? balance is always != 0.

> + *balance = 0;
> + goto ret;
> + }

How well was this patch tested?

We already have idle processors pulling processes from elsewhere in the
system. Load balancing on an idle processor could only replicate the
balance on idle logic.


-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/