[PATCH 01/15] sched: introduce task_se_h_load helper

2019-09-06 Thread Rik van Riel
Sometimes the hierarchical load of a sched_entity needs to be calculated. Rename task_h_load to task_se_h_load, and directly pass a sched_entity to that function. Move the function declaration up above where it will be used later. No functional changes. Signed-off-by: Rik van Riel Reviewed-by:

Re: [PATCH 01/15] sched: introduce task_se_h_load helper

2019-08-23 Thread Rik van Riel
On Fri, 2019-08-23 at 20:13 +0200, Dietmar Eggemann wrote: > > > > @@ -1668,7 +1668,7 @@ static void task_numa_compare(struct > > task_numa_env *env, > > /* > > * In the overloaded case, try and keep the load balanced. > > */ > > - load = task_h_load(env->p) - task_h_load(cur); >

Re: [PATCH 01/15] sched: introduce task_se_h_load helper

2019-08-23 Thread Dietmar Eggemann
On 22/08/2019 04:17, Rik van Riel wrote: > Sometimes the hierarchical load of a sched_entity needs to be calculated. > Rename task_h_load to task_se_h_load, and directly pass a sched_entity to > that function. > > Move the function declaration up above where it will be used later. > > No funct

[PATCH 01/15] sched: introduce task_se_h_load helper

2019-08-21 Thread Rik van Riel
Sometimes the hierarchical load of a sched_entity needs to be calculated. Rename task_h_load to task_se_h_load, and directly pass a sched_entity to that function. Move the function declaration up above where it will be used later. No functional changes. Signed-off-by: Rik van Riel Reviewed-by: