Re: [RFC PATCH 2/5] sched: Add NOHZ_STATS_KICK
From: Peter Zijlstra
Date: Thu Feb 01 2018 - 11:56:12 EST
On Thu, Jan 18, 2018 at 10:38:07AM +0000, Morten Rasmussen wrote:
> It seems pointless to have a timer to update PELT if the system is
> completely idle, and when it isn't we can piggy back other events to
> make the updates happen.
Only if we do that update before making decisions based on the values.
The thing I was bothered by in the earlier patches was that wakeup would
use whatever current value and async kick something to go update.
That just seems wrong.