Re: [PATCH] sched: Fast idling of CPU when system is partially loaded
From: Peter Zijlstra
Date: Tue Jun 17 2014 - 08:09:49 EST
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:
pgpDWbBfFKAkj.pgp
Description: PGP signature