On Mon, Jun 16, 2014 at 08:50:07AM -0700, Tim Chen wrote:
> > The worry I have is that this update is 'slow'. We could have grown many
> > tasks since the last update.
> 
> The update to turn on the indicator is immediate and triggered in
> add_nr_running. So if there are more than one tasks on any cpu, 
> we start load balancing again right away.  It is only the 
> clearing of the indicator in update_sd_lb_stats that takes time.
> That does no harm as the cleared indicator is for the skipping of load
> balance, which can be delayed.
> 

Oh right, shows me I shouldn't be reading patches on sunday or similarly
daft times ;)

Attachment: pgpfvoiEWSmY5.pgp
Description: PGP signature

Reply via email to