Re: [PATCH v3 07/14] sched/core: uclamp: enforce last task UCLAMP_MAX

2018-08-16 Thread Patrick Bellasi
On 16-Aug 19:10, Dietmar Eggemann wrote: > On 08/16/2018 06:47 PM, Patrick Bellasi wrote: > >On 16-Aug 17:43, Dietmar Eggemann wrote: > >>On 08/06/2018 06:39 PM, Patrick Bellasi wrote: > >>>When a util_max clamped task sleeps, its clamp constraints are removed > >>>from the CPU. However, the blocke

Re: [PATCH v3 07/14] sched/core: uclamp: enforce last task UCLAMP_MAX

2018-08-16 Thread Patrick Bellasi
On 06-Aug 17:39, Patrick Bellasi wrote: > When a util_max clamped task sleeps, its clamp constraints are removed > from the CPU. However, the blocked utilization on that CPU can still be > higher than the max clamp value enforced while that task was running. > This max clamp removal when a CPU is g

Re: [PATCH v3 07/14] sched/core: uclamp: enforce last task UCLAMP_MAX

2018-08-16 Thread Dietmar Eggemann
On 08/16/2018 06:47 PM, Patrick Bellasi wrote: On 16-Aug 17:43, Dietmar Eggemann wrote: On 08/06/2018 06:39 PM, Patrick Bellasi wrote: When a util_max clamped task sleeps, its clamp constraints are removed >from the CPU. However, the blocked utilization on that CPU can still be higher than th

Re: [PATCH v3 07/14] sched/core: uclamp: enforce last task UCLAMP_MAX

2018-08-16 Thread Patrick Bellasi
On 16-Aug 17:43, Dietmar Eggemann wrote: > On 08/06/2018 06:39 PM, Patrick Bellasi wrote: > >When a util_max clamped task sleeps, its clamp constraints are removed > >from the CPU. However, the blocked utilization on that CPU can still be > >higher than the max clamp value enforced while that task

Re: [PATCH v3 07/14] sched/core: uclamp: enforce last task UCLAMP_MAX

2018-08-16 Thread Dietmar Eggemann
On 08/06/2018 06:39 PM, Patrick Bellasi wrote: When a util_max clamped task sleeps, its clamp constraints are removed from the CPU. However, the blocked utilization on that CPU can still be higher than the max clamp value enforced while that task was running. This max clamp removal when a CPU is

[PATCH v3 07/14] sched/core: uclamp: enforce last task UCLAMP_MAX

2018-08-06 Thread Patrick Bellasi
When a util_max clamped task sleeps, its clamp constraints are removed from the CPU. However, the blocked utilization on that CPU can still be higher than the max clamp value enforced while that task was running. This max clamp removal when a CPU is going to be idle could thus allow unwanted CPU fr