Re: [PATCH 1/4 v4] sched/pelt: Move pelt related code in a dedicated file
From: Dietmar Eggemann
Date: Sun Apr 15 2018 - 07:58:31 EST
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 mecanism for both and prevent
useless dependency between cfs and rt code, pelt code is moved in a
dedicated file.
This would mean that we introduce function calls into the cfs scheduler
fast-path, something we avoided so far (e.g. the cpu and frequency
invariance hooks). Are we OK with that?
Quentin mentioned this already during v3 review back in December.
[...]