lkml.org 
[lkml]   [2012]   [May]   [3]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: [RFC][PATCH 1/5] sched, fair: Let minimally loaded cpu balance the group
From
Date
On Wed, 2012-05-02 at 16:04 +0530, Srivatsa Vaddagiri wrote:
> * Peter Zijlstra <a.p.zijlstra@chello.nl> [2012-05-02 12:31:30]:
>
> > > IOW :
> > >
> > > balance_load = 0 iff idle_cpu(i) ??
> >
> > I think so, even for !0 load_idx, load will only reach zero when we're
> > idle, just takes longer.
>
> Right ...so should we force it to select a idle_cpu by having
> balance_load = 0 for a idle cpu (ignoring what target_load(i, load_idx)
> told us as its load?

I think Peter is trying to find the leastly loaded among idle cpu's (in
other words the longest idle cpu ;)

should be ok, isn't it?

thanks,
suresh





\
 
 \ /
  Last update: 2012-05-04 02:41    [from the cache]
©2003-2011 Jasper Spaans