Re: [PATCH -v2 13/18] sched/fair: Propagate an effective runnable_load_avg

From: Dietmar Eggemann
Date: Tue Oct 03 2017 - 08:26:48 EST


On 01/09/17 14:21, Peter Zijlstra wrote:

[...]

> @@ -3169,8 +3198,8 @@ ___update_load_sum(u64 now, int cpu, str
> * this happens during idle_balance() which calls
> * update_blocked_averages()
> */

another nit-pick:

s/weight/load in comment above.

> - if (!weight)
> - running = 0;
> + if (!load)
> + runnable = running = 0;

[...]