Re: [PATCH] Load balancing problem in 2.6.2-mm1

From: Rick Lindsley
Date: Fri Feb 06 2004 - 17:56:50 EST


No you definitely still need the test... this is what I mean:

if (avg_load > this_load)
*imbalance = min(max_load - avg_load, avg_load - this_load);
else
*imbalance = 0;

Ah, yes, ok. I thought you were saying it would be zero because of code
elsewhere. Yup, that'll work.

Rick
-
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/