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

Rick Lindsley
2004-02-06T22:53:54Z

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