Re: [PATCH v2 2/5] sched/numa: Replace runnable_load_avg by load_avg
From: Dietmar Eggemann
Date: Tue Feb 18 2020 - 09:42:13 EST
On 18/02/2020 15:17, Vincent Guittot wrote:
> On Tue, 18 Feb 2020 at 14:51, Mel Gorman <mgorman@xxxxxxx> wrote:
>>
>> On Tue, Feb 18, 2020 at 01:37:45PM +0100, Dietmar Eggemann wrote:
>>> On 14/02/2020 16:27, Vincent Guittot wrote:
[...]
>>> -static void update_numa_stats(struct task_numa_env *env,
>>> +static void update_numa_stats(unsigned int imbalance_pct,
>>> struct numa_stats *ns, int nid)
>>>
>>> - update_numa_stats(&env, &env.src_stats, env.src_nid);
>>> + update_numa_stats(env.imbalance_pct, &env.src_stats, env.src_nid);
>>>
>>
>> You'd also have to pass in env->p and while it could be done, I do not
>> think its worthwhile.
>
> I agree
Ah, another patch in Mel's patch-set:
https://lore.kernel.org/r/20200217104402.11643-11-mgorman@xxxxxxxxxxxxxxxxxxx
I see.
[...]