lkml.org 
[lkml]   [2011]   [Sep]   [28]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH v1] sched: fix nohz idle load balancer issues
* Srivatsa Vaddagiri <vatsa@linux.vnet.ibm.com> [2011-09-28 10:09:21]:

> * Srivatsa Vaddagiri <vatsa@linux.vnet.ibm.com> [2011-09-28 10:04:27]:
>
> > unless we want to go for more sophisticated like a sorted list of
> > rq->next_balance in a rb-tree
>
> Given that this list will need to be global (and not per-cpu) and it will need
> to be updated reqularly (even when cpus are busy and as they update their
> rq->next_balance), that will probably not fly!

On third thoughts, this list needs to be updated only in idle cpu
context (idle cpus going tickless will be inserted in the list (indexed at
rq->next_balance and cpu exiting idle will need to be removed). So the global
list may not hurt so much ..will see how that comes up in code.

- vatsa


\
 
 \ /
  Last update: 2011-09-28 07:09    [W:0.077 / U:0.008 seconds]
©2003-2017 Jasper Spaans. hosted at Digital OceanAdvertise on this site