Re: [PATCH v3 10/13] sched/fair: Compute task/cpu utilization at wake-up more correctly

From: Peter Zijlstra
Date: Mon Aug 15 2016 - 10:24:22 EST


On Mon, Jul 25, 2016 at 02:34:27PM +0100, Morten Rasmussen wrote:
> To solve this problem, this patch introduces task_util_wake() which
> computes the decayed task utilization based on the last update of the
> previous cpu's last load-tracking update. It is done without having to
> take the rq lock, similar to how it is done in remove_entity_load_avg().

But unlike that function, it doesn't actually use __update_load_avg().
Why not?