Re: [PATCH 3/5] Use next_balance instead of last_balance

Christoph Lameter
2006-10-26T18:18:06Z

On Fri, 27 Oct 2006, Nick Piggin wrote:

> > Hmmmm... We change the point at which we calculate the interval relative to
> > load balancing. So move it after the load balance. This also avoids having
> > to do the calculation if the sched_domain has not expired.
>
> That still doesn't take into account if the CPU goes idle/busy during
> the interval.

How does the current version take that into account? As far as I can tell
we take the busy / idle stuation at the point in time when
rebalance_tick() is called. We do not track whever the cpu gues idle/busy
in the interval.