Re: [PATCH 1/4 v4] sched/pelt: Move pelt related code in a dedicated file

2018-04-15 Thread Dietmar Eggemann
On 04/15/2018 02:16 PM, Vincent Guittot wrote: On 15 April 2018 at 13:58, Dietmar Eggemann wrote: On 03/16/2018 12:25 PM, Vincent Guittot wrote: We want to track rt_rq's utilization as a part of the estimation of the whole rq's utilization. This is necessary because rt tasks can steal utiliza

Re: [PATCH 1/4 v4] sched/pelt: Move pelt related code in a dedicated file

2018-04-15 Thread Vincent Guittot
On 15 April 2018 at 13:58, Dietmar Eggemann wrote: > On 03/16/2018 12:25 PM, Vincent Guittot wrote: >> >> We want to track rt_rq's utilization as a part of the estimation of the >> whole rq's utilization. This is necessary because rt tasks can steal >> utilization to cfs tasks and make them lighte

Re: [PATCH 1/4 v4] sched/pelt: Move pelt related code in a dedicated file

2018-04-15 Thread Dietmar Eggemann
On 03/16/2018 12:25 PM, Vincent Guittot wrote: [...] diff --git a/kernel/sched/pelt.h b/kernel/sched/pelt.h new file mode 100644 index 000..c312d8c --- /dev/null +++ b/kernel/sched/pelt.h @@ -0,0 +1,17 @@ +#ifdef CONFIG_SMP + +int __update_load_avg_blocked_se(u64 now, int cpu, struct sched_

Re: [PATCH 1/4 v4] sched/pelt: Move pelt related code in a dedicated file

2018-04-15 Thread Dietmar Eggemann
On 03/16/2018 12:25 PM, Vincent Guittot wrote: We want to track rt_rq's utilization as a part of the estimation of the whole rq's utilization. This is necessary because rt tasks can steal utilization to cfs tasks and make them lighter than they are. As we want to use the same load tracking mecani